Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2022, 01:20 PM
phathuynh27 phathuynh27 is offline Visio 2019 OrgChart - Set page size Windows 10 Visio 2019 OrgChart - Set page size Office 2019
Novice
Visio 2019 OrgChart - Set page size
 
Join Date: Dec 2022
Posts: 2
phathuynh27 is on a distinguished road
Default Visio 2019 OrgChart - Set page size


Hello all, I have 40 pages Org Chart that are created via a script. How do I set page size (17in x 11in) for all of them. I tried creating a MACRO but it did not work for all pages. Thank you so much.
Reply With Quote
  #2  
Old 01-08-2023, 06:10 PM
Guessed's Avatar
Guessed Guessed is offline Visio 2019 OrgChart - Set page size Windows 10 Visio 2019 OrgChart - Set page size Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Try a macro like this
Code:
Sub SetPageSizes()
  Dim aPage As Page
  For Each aPage In ActiveDocument.Pages
    aPage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageWidth).FormulaU = "17 in"
    aPage.PageSheet.CellsSRC(visSectionObject, visRowPage, visPageHeight).FormulaU = "11 in"
  Next aPage
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visio 2019 - Remove all Hyperlinks phathuynh27 Visio 1 01-08-2023 06:17 PM
Visio 2019 Professional GeekDad Visio 1 04-11-2022 05:43 PM
Visio 2019 freezing when using zoom nscelsi1 Visio 1 12-19-2021 09:43 PM
Visio 2019 installation failure on Windows 10 with Office 2019 instwars Office 1 08-29-2019 07:05 PM
Visio Orgchart Solution dmcgimpsey Visio 0 11-08-2005 10:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft