Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe you could provide another macro:
With ThisWorkbook .SaveAs Filename:=.Worksheets("sheet1").Range("a1").Value & ".xls", _ FileFormat:=xlNormal End With (with a bunch of testing to see if things were filled in correctly) And you could add the path you want, too: With ThisWorkbook .SaveAs Filename:=.path & "\" & _ .Worksheets("sheet1").Range("a1").Value & ".xls", _ FileFormat:=xlNormal End With Marissa wrote: Ok, this is the problem. I have a book in excel for sales. The work is almost done, all the macros work wonders, the process of sales from the moment of getting orders until the moment the product has been delivered works fine. The thing is that what I need is that when I close this book I want it to be saved automaticaly under a specific name (that would be the No of Order from the client, that appears in one of the pages of the document, in a predeterminated cell all the time). Is ther ea way to make this happen through a macro or something? And when I save the book that it saves itself always on a specific file in the computer? Any clues? Marissa -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to Save File to specific location when closing | Excel Discussion (Misc queries) | |||
can excel automaticaly open file from specific folder | Excel Discussion (Misc queries) | |||
Can you make excell automaticaly save to the current date & time? | Excel Discussion (Misc queries) | |||
Can you automaticaly save a shared file every few mintues? | Excel Discussion (Misc queries) | |||
macro to save file automaticaly? | Excel Discussion (Misc queries) |