Saving problem

G

Guest

Hi!!

I use this code:
ActiveWorkbook.SaveAs ("h:\city breaks\priser\usa\ordrer\" & filnavn)
It's working allright - but my ActiveWorkbook is now the new file.
Can't i in some way save the file in a new file and still be in the original
file

Like if my file name is first.xls and i save it at second.xls then i still
want to
be in first.xls so i can make some more in this file.

Now i close the file and open my old file again.

Best regards alvin
 
N

Norman Jones

Hi Alvin,

Try using SaveCopyAs.

From Help:
Saves a copy of the workbook to a file but doesn't modify the open workbook
in memory.
 
G

Guest

Off course sorry my brain is'n so fast

Many many thanks

From Alvin


"Norman Jones" skrev:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top