Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

copy from one workbook on desktop to another open workbook

$
0
0
Hello, I am new to this forum and new to vba for excel.
I receive an excel file through outlook. When I open it, a temp1 file is created on my desktop. I want to copy a sheet called "Data"
from that temp1 file into a running excel program called "BAA". Once copied, I want to delete the temp1 file from the desktop.
There a several people who get this file so the path of the desktop will be different for all of us. how can I open the file, copy the
sheet and delete the file from the desktop without the path being the same everytime?

Viewing all articles
Browse latest Browse all 50070

Trending Articles