Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
saving a file
i want to take the contents of three cells and use that as
the file name when i use the saveas function in vba. how do i do this...please help. thank you. exaple: i have the number 9 in cell f2, the number 2 in cell f3 and the number 7 in cell f4. i want to have excel save my file as 927.xls or whatever #'s i have in those cells. i have a comand button to program the code into to do this for me. thank you. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
saving a file
i can make it for you
Chris wrote: *i want to take the contents of three cells and use that as the file name when i use the saveas function in vba. how do i do this...please help. thank you. exaple: i have the number 9 in cell f2, the number 2 in cell f3 and the number 7 in cell f4. i want to have excel save my file as 927.xls or whatever #'s i have in those cells. i have a comand button to program the code into to do this for me. thank you. * --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
saving a file
Sub commandbutton1_click() ThisWorkbook.SaveAs [f2] & [f3] & [f4] end sub -----Original Message----- i want to take the contents of three cells and use that as the file name when i use the saveas function in vba. how do i do this...please help. thank you. exaple: i have the number 9 in cell f2, the number 2 in cell f3 and the number 7 in cell f4. i want to have excel save my file as 927.xls or whatever #'s i have in those cells. i have a comand button to program the code into to do this for me. thank you. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Saving Excel 2007 file in 2003 creates very large file | Excel Discussion (Misc queries) | |||
Confused here Prevent Saving File - but allow ONLY File SAVEAS Met | Excel Discussion (Misc queries) | |||
Saving worksheet in new file with date AND cell value as file name | Excel Discussion (Misc queries) | |||
Text file saving, setting file origin | Excel Discussion (Misc queries) | |||
How do I stop Excel 2000 from saving file history from file that . | Excel Discussion (Misc queries) |