ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   saving a file based on a value in predertermined cell to a specifi (https://www.excelbanter.com/excel-discussion-misc-queries/97261-saving-file-based-value-predertermined-cell-specifi.html)

Garry E

saving a file based on a value in predertermined cell to a specifi
 
how do i save a file based on the information in a specific cell to a
specific file path--
Garry E

Dave Peterson

saving a file based on a value in predertermined cell to a specifi
 
You could use a macro.

Option Explicit
sub SaveMe()

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

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

Garry E wrote:

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


--

Dave Peterson


All times are GMT +1. The time now is 08:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com