Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thisworkbook.SaveAs
Filename:=Thisworbook.Worksheets("Sheet1").Range(" A1").Value If it is the active workbook, change ThisWorkbook to ActiveWorkbook in two places Thisworkbook refers to the workbook containing the code. Not clear where copy and paste plays a role here. -- Regards, Tom Ogilvy "Kobus" wrote in message ... I need to write a macro that when executed, will save a file with the name taken from the value of a specific cell in that spreadsheet. How do I do that? Copy & paste does not work and when recording a macro is not recorded. Any help will be appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell changes format upon saving file | Excel Discussion (Misc queries) | |||
Saving file using value in cell as the filename | Excel Worksheet Functions | |||
Saving a file with a cell name | Excel Discussion (Misc queries) | |||
Saving worksheet in new file with date AND cell value as file name | Excel Discussion (Misc queries) | |||
Saving a file(new) using the multiple cell contents as a file name | Excel Programming |