Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Folks,
I need to generate 473 .tpl files with the same single line content. This line is in cell A1 on a sheet labelled 'content'. The list of file names is in a sheet labelled 'names' in column A. I am using the following to generate the first 3 files for testing purposes which saves them nicely as .xls. I just need them as .tpl files for my website though! Sub SaveAs() For i = 1 To 3 Name = ThisWorkbook.Sheets("names").Range("A" & i) ThisWorkbook.Sheets(Array("content")).Copy ActiveWorkbook.SaveAs (Name) ActiveWorkbook.Close Next i End Sub Any help greatly appreciated. Thanks, Nick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Saving CSV file with TXT extension | Excel Discussion (Misc queries) | |||
Excel files are saving without any XLS extension. Any ideas? | Excel Discussion (Misc queries) | |||
Sort Each Row seperately | Excel Programming | |||
Transformation d'images avec une extension .jpg ou .jpeg en images avec extension .bmp ou .ico | Excel Discussion (Misc queries) | |||
Saving two file names? One with no extension? | Excel Programming |