Hello all you smart excel boffins !
I have just spent 3 hours searching for some VBA code that I can attach to a command button in excel to GETSAVEAS. Sounds simple enough, but I found none that can reference a particular cell in the spreadsheet for the file name.
My user is a novice and she often looses files as she dosent save them to the right directory or give them a decent name (lots of files called 'sheet1, sheet2, sheet3 on her computer!).
My spreadsheet has generated a unique file name (and directory) that is located in cell A1. (CELL A1 = "c:\users\craig\desktop\DaveJul2211.xls"). In subsequent sheets, the path stays the same, but the generated file name changes.
How do I run a GetSaveAs command and tell it to default to the file name and path that is in A1 ?. Also, force save as .xls file ?
Cheers,
Craig.
MSExcel 2000
I have just spent 3 hours searching for some VBA code that I can attach to a command button in excel to GETSAVEAS. Sounds simple enough, but I found none that can reference a particular cell in the spreadsheet for the file name.
My user is a novice and she often looses files as she dosent save them to the right directory or give them a decent name (lots of files called 'sheet1, sheet2, sheet3 on her computer!).
My spreadsheet has generated a unique file name (and directory) that is located in cell A1. (CELL A1 = "c:\users\craig\desktop\DaveJul2211.xls"). In subsequent sheets, the path stays the same, but the generated file name changes.
How do I run a GetSaveAs command and tell it to default to the file name and path that is in A1 ?. Also, force save as .xls file ?
Cheers,
Craig.
MSExcel 2000
Last edited: