Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to create a VBA snippet that will only print a single named page in a
worksheet to a txt file called "c:\info\excel.txt". How is that done? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way is to copy the sheet to a new workbook and save it from there, then
close that workbook: Option Explicit Sub testme01() ActiveSheet.Copy 'to a new workbook With ActiveWorkbook .SaveAs Filename:="c:\info\excel.txt", FileFormat:=xlText .Close savechanges:=False End With End Sub "L.A. Lawyer" wrote: I want to create a VBA snippet that will only print a single named page in a worksheet to a txt file called "c:\info\excel.txt". How is that done? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A single Page print for key items | Excel Discussion (Misc queries) | |||
how do you print single page multiply times with increasing page . | Excel Worksheet Functions | |||
Can you print separate worksheet on a single page? | Excel Discussion (Misc queries) | |||
Print correct Page X of Y when printing single worksheet | Excel Discussion (Misc queries) | |||
Converting a muliple page worksheet to a single page worksheet | Excel Discussion (Misc queries) |