save as using macros

  • Thread starter Thread starter legepe
  • Start date Start date
L

legepe

Can any one give me an example of how to (save as) an indipendant cop
of a spread sheet program using a macro
I am a complete newbie, and I am having problems understanding the VB
help
Thanks
legep
 
with activeworkbook
.savecopyas filename:="c:\mybackups\" & .name
end with

This assumes that c:\mybackups exists.
 

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

Similar Threads

Saving data with macro 1
How to use OFFSET in VBA 1
Lose macros before saving 4
file path or IP address protected 1
Accumulating data 2
Macro help 2
move a variable value in a macro to a cell 2
Saving data 1

Back
Top