Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I set up a macro to save an Excel worksheet as a .prn file?
I have a multipage workbook and I need to setup a macro to save "sheet 3" as
a seperate .prn file. I've tried using the SaveAs macro function with .prn at the end of the file name but it still saves it in Excel form. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I set up a macro to save an Excel worksheet as a .prn file?
Check out the worksheet SaveAs method in VB help, with particular attention
to the File Format parameter. -- Jim "cher" wrote in message ... I have a multipage workbook and I need to setup a macro to save "sheet 3" as a seperate .prn file. I've tried using the SaveAs macro function with .prn at the end of the file name but it still saves it in Excel form. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I set up a macro to save an Excel worksheet as a .prn f
I entered:
Activeworksheet.FileFormat=xltemplate Then Active Worksheet.SaveAs Fileformat:=prn End If This is not working. I'm also no sure where to put in the path and file name to Save As. The workbook is setup as a template. "Jim Rech" wrote: Check out the worksheet SaveAs method in VB help, with particular attention to the File Format parameter. -- Jim "cher" wrote in message ... I have a multipage workbook and I need to setup a macro to save "sheet 3" as a seperate .prn file. I've tried using the SaveAs macro function with .prn at the end of the file name but it still saves it in Excel form. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro save a file name from a cell in 1st worksheet | Excel Discussion (Misc queries) | |||
Macro to save Excel file with date and time in the file name? | Excel Programming | |||
Macro to export a worksheet and save as new file | Excel Programming | |||
ASP: Open Excel File with Macro, Allow Macro to run, and then save | Excel Programming | |||
using macro to save worksheet with unique file name | Excel Programming |