Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I name a spreadsheet from the value in a single cell
I have a formula that concatenates a poortion of a customer's name, and the
date as my invoice names (i.e. IN-NORT081606. I want to save my invoices with the name derived in a cell with the above formula. Or I would like to name the saved file using a macro IN-NORT081606.XLS. How can I do this in a macro?? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I name a spreadsheet from the value in a single cell
hi Mark,
Try this: Sub testname() thisworkbook.saveas "C:\" & Range("a1").value End Sub 'Assume that range("a1").value isn;t empty Rgds, Halim Mark Norton menuliskan: I have a formula that concatenates a poortion of a customer's name, and the date as my invoice names (i.e. IN-NORT081606. I want to save my invoices with the name derived in a cell with the above formula. Or I would like to name the saved file using a macro IN-NORT081606.XLS. How can I do this in a macro?? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I name a spreadsheet from the value in a single cell
It worked like a charm. Thank you so much. I am just getting started with
my Excel programming and am afraid that I might need to pick up a book. Thanks a million! Mark " wrote: hi Mark, Try this: Sub testname() thisworkbook.saveas "C:\" & Range("a1").value End Sub 'Assume that range("a1").value isn;t empty Rgds, Halim Mark Norton menuliskan: I have a formula that concatenates a poortion of a customer's name, and the date as my invoice names (i.e. IN-NORT081606. I want to save my invoices with the name derived in a cell with the above formula. Or I would like to name the saved file using a macro IN-NORT081606.XLS. How can I do this in a macro?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I email a single spreadsheet tab in excel? | Excel Discussion (Misc queries) | |||
To add extra line/lines to single cell in Excel spreadsheet | New Users to Excel | |||
From single cell variables to a single column serie | New Users to Excel | |||
Can I make my spreadsheet single spaced | Excel Discussion (Misc queries) | |||
is there a way to add single digits within a single cell? | Excel Worksheet Functions |