Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a .xls workbook called Data Load.
I have a sheet called Macro (holding my radio buttons assigned to macros). I have another sheet called item_mass. I want to keep my .xls workbook as Data Load.xls. Within the macro I wanted to move/copy the item_mass sheet and then save it as the name in cell D3 of the Macro sheet. 'Select Sheet Sheets("item_mass").Select 'Copy to new workbook ' Sheets("item_mass").Copy Dim fname With ActiveWorkbook fname = .Worksheets("Macro").Range("D3").Value & ".csv" ..SaveAs "C:\Documents and Settings\a01760\Desktop\Data_Loads\Prod Trans\130\fname" End With ActiveWindow.Close Sheets("Macro").Select This is not working. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Export to text file based on cell information | Excel Discussion (Misc queries) | |||
How do I make an auto save when information is entered into a cell | Excel Discussion (Misc queries) | |||
file name as specified cell when save as or save is clicked | Excel Programming | |||
SAVE OR SAVE-AS with a file name derived from a cell on the spreadsheet... | Excel Programming | |||
Can I get Excel not to save a file if certain information is not i | Excel Worksheet Functions |