M
Mick Garrett
Hi,
I want to have the user enter a date and then reformat
this to a series of digits and use this as the workbook
name. So, I have the3 user enter the date and then strip
out the MM, DD and YY stuff after I enter the data and
place this into another cell. I want a macro to then fire
that does a save as operation using the value in the cell.
For example, user enter 12/06/03 into cell A1. Cel A2
reformats this as 120603MGA (the MGA are user ID
characters that also get added) and then an operation
fires to save the workbook as 120603MGA.xls
Any ideas? I recorded a macro to capture main functyions
but as a newbie, I am not quite sure how to capture the
value in cell A2 and stuff it into the filename. Can
someone point me to the object model and function calls
for the various worksheet objects.
TIA.
Mick
I want to have the user enter a date and then reformat
this to a series of digits and use this as the workbook
name. So, I have the3 user enter the date and then strip
out the MM, DD and YY stuff after I enter the data and
place this into another cell. I want a macro to then fire
that does a save as operation using the value in the cell.
For example, user enter 12/06/03 into cell A1. Cel A2
reformats this as 120603MGA (the MGA are user ID
characters that also get added) and then an operation
fires to save the workbook as 120603MGA.xls
Any ideas? I recorded a macro to capture main functyions
but as a newbie, I am not quite sure how to capture the
value in cell A2 and stuff it into the filename. Can
someone point me to the object model and function calls
for the various worksheet objects.
TIA.
Mick