Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have had some success doing a fast PageSetup in MS Excel using the xlDialogPageSetup (from Colo's Excel Junk Room at http://puremis.net/excel/code/039.shtml) and the XL4 Macro PAGE.SETUP. I have even got SET.PRINT.AREA and SET.PRINT.TITLES to work, which is again better than using Activesheet.pagesetup. But is there a way to use the xlDialogPageSetup (Application.Dialogs(xlDialogPageSetup).show...) method to set the PrintArea and the PrintTtitle rows? BTW - in case anyone needs it, the original MS Help file for all of these Excel 4 Macro functions is on the MS Website: http://support.microsoft.com/default...b;en-us;128185 thanks Philip |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can set Print Area and Print Titles very quickly using this:
ActiveSheet.Range("A1:D10").Name = "'" & ActiveSheet.Name & "'!Print_Area" ActiveSheet.Range("1:2,A:B").Name = "'" & ActiveSheet.Name & "'!Print_Titles" - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "Philip" wrote in message ... Hi, I have had some success doing a fast PageSetup in MS Excel using the xlDialogPageSetup (from Colo's Excel Junk Room at http://puremis.net/excel/code/039.shtml) and the XL4 Macro PAGE.SETUP. I have even got SET.PRINT.AREA and SET.PRINT.TITLES to work, which is again better than using Activesheet.pagesetup. But is there a way to use the xlDialogPageSetup (Application.Dialogs(xlDialogPageSetup).show...) method to set the PrintArea and the PrintTtitle rows? BTW - in case anyone needs it, the original MS Help file for all of these Excel 4 Macro functions is on the MS Website: http://support.microsoft.com/default...b;en-us;128185 thanks Philip |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Jon... that'll do nicely!
"Jon Peltier" wrote: You can set Print Area and Print Titles very quickly using this: ActiveSheet.Range("A1:D10").Name = "'" & ActiveSheet.Name & "'!Print_Area" ActiveSheet.Range("1:2,A:B").Name = "'" & ActiveSheet.Name & "'!Print_Titles" - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "Philip" wrote in message ... Hi, I have had some success doing a fast PageSetup in MS Excel using the xlDialogPageSetup (from Colo's Excel Junk Room at http://puremis.net/excel/code/039.shtml) and the XL4 Macro PAGE.SETUP. I have even got SET.PRINT.AREA and SET.PRINT.TITLES to work, which is again better than using Activesheet.pagesetup. But is there a way to use the xlDialogPageSetup (Application.Dialogs(xlDialogPageSetup).show...) method to set the PrintArea and the PrintTtitle rows? BTW - in case anyone needs it, the original MS Help file for all of these Excel 4 Macro functions is on the MS Website: http://support.microsoft.com/default...b;en-us;128185 thanks Philip |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
insert pagenumber in PageSetup in Excel using VB.net | Excel Programming | |||
Excel PageSetup Error even when a printer Exists | Excel Programming | |||
Can faster CPU+larger/faster RAM significantly speed up recalulati | Excel Discussion (Misc queries) | |||
Excel PageSetup failure when not logged onto server | Excel Programming | |||
Excel generation and PageSetup.CenterHeader | Excel Programming |