Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to create a Macro in Excel that will open a workbook and then save it under a new name, but i would like to do this 150 times, so i will have 150 uniquely named workbooks containing the same data. is this possible? Thanks Nicola |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Folder = "c:\temp\"
for i = 1 to 150 thisworkbook.saveas filename:=Folder & "book" & i & ".xls" next i "nhollingdale" wrote: Hi, I am trying to create a Macro in Excel that will open a workbook and then save it under a new name, but i would like to do this 150 times, so i will have 150 uniquely named workbooks containing the same data. is this possible? Thanks Nicola |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Joel
I have a workbook in a shared library. Aone of my end users can browse the library and open the workbook. I need to create a macro button in my workbook that allows my enduser to save the workbook (saveas) to any library he wants with any name he wants.... for example: my workbook is in library F under the name iris.xls my end user will be able to save the document to which ever library he want with a complitly new name: for example: library D under the name of rose.xls I will be gratefull if you can help me with that. thanks iris "Joel" wrote: Folder = "c:\temp\" for i = 1 to 150 thisworkbook.saveas filename:=Folder & "book" & i & ".xls" next i "nhollingdale" wrote: Hi, I am trying to create a Macro in Excel that will open a workbook and then save it under a new name, but i would like to do this 150 times, so i will have 150 uniquely named workbooks containing the same data. is this possible? Thanks Nicola |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to Save without the Save Message | Excel Discussion (Misc queries) | |||
"Save" macro problem, still prompted to save when closing workbook (?) | Excel Programming | |||
Totally Disabling (^ save ) (Save as) and Save Icon – Which code do I use: | Excel Programming | |||
ASP: Open Excel File with Macro, Allow Macro to run, and then save | Excel Programming | |||
Prompted to save changes after macro save - why? | Excel Programming |