saving a file based on a value in predertermined cell to a specifi

G

Garry E

how do i save a file based on the information in a specific cell to a
specific file path--
Garry E
 
D

Dave Peterson

You could use a macro.

Option Explicit
sub SaveMe()

Thisworkbook.saveas filename:="C:\yourpath\" _
& thisworkbook.worksheets("sheet9999").range("a1").value

end sub

But there's not validity checks in this at all.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
 
Top