Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If I setup my print, when fitting to 1 page, I want to know the percentage% the page is set. The code below gives 0 Any ideas? Function PercentOnePage_portrait() As Integer 'start from an active sheet With activeSHEET.PageSetup ..Orientation = xlPortrait ..FitToPagesWide = 1 ..FitToPagesTall = 1 End With PercentOnePage_portrait = activeSHEET.PageSetup.Zoom ??? End Function -- Zurn ------------------------------------------------------------------------ Zurn's Profile: http://www.excelforum.com/member.php...o&userid=14645 View this thread: http://www.excelforum.com/showthread...hreadid=539788 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Zurn,
Search this group, because there was the exact same question recently, with a couple of solutions. NickHK "Zurn" wrote in message ... If I setup my print, when fitting to 1 page, I want to know the percentage% the page is set. The code below gives 0 Any ideas? Function PercentOnePage_portrait() As Integer 'start from an active sheet With activeSHEET.PageSetup Orientation = xlPortrait FitToPagesWide = 1 FitToPagesTall = 1 End With PercentOnePage_portrait = activeSHEET.PageSetup.Zoom ??? End Function -- Zurn ------------------------------------------------------------------------ Zurn's Profile: http://www.excelforum.com/member.php...o&userid=14645 View this thread: http://www.excelforum.com/showthread...hreadid=539788 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Zurn,
See the following recent thread: http://tinyurl.com/jqmxn --- Regards, Norman "Zurn" wrote in message ... If I setup my print, when fitting to 1 page, I want to know the percentage% the page is set. The code below gives 0 Any ideas? Function PercentOnePage_portrait() As Integer 'start from an active sheet With activeSHEET.PageSetup Orientation = xlPortrait FitToPagesWide = 1 FitToPagesTall = 1 End With PercentOnePage_portrait = activeSHEET.PageSetup.Zoom ??? End Function -- Zurn ------------------------------------------------------------------------ Zurn's Profile: http://www.excelforum.com/member.php...o&userid=14645 View this thread: http://www.excelforum.com/showthread...hreadid=539788 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() ok thx, that's what I needed! -- Zurn ------------------------------------------------------------------------ Zurn's Profile: http://www.excelforum.com/member.php...o&userid=14645 View this thread: http://www.excelforum.com/showthread...hreadid=539788 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print Page setup question | Excel Discussion (Misc queries) | |||
No zoom in print preview on landscaped page | Excel Discussion (Misc queries) | |||
print page setup | Excel Discussion (Misc queries) | |||
Calculate page setup zoom value for 1 to 1 printing | Excel Programming | |||
Tips for optimising page setup .Zoom and .FitTo properties | Excel Programming |