Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-13-2018, 02:17 AM
Dwids Dwids is offline Page.SetTheme Method example VBA? Windows 10 Page.SetTheme Method example VBA? Office 2016
Novice
Page.SetTheme Method example VBA?
 
Join Date: Apr 2018
Posts: 5
Dwids is on a distinguished road
Default Page.SetTheme Method example VBA?


I've inherited a number of multi-page Visio files and want to get them all to use the same Theme (and variations).

From the Shape Sheet from the 'one I wish to use as a reference' I can see the Page's "ThemeIndex" value (number) etc. But just can't get it/them to properly apply to a 2nd Visio file, via the Page.SetTheme Method in a VBA macro.

PagObj.SetTheme (35) works . It adds the space before the (). Mmm.
PagObj.SetTheme (35,2) gets a compile error; syntax error. This is what I want to use

(Yes I'm new to Visio VBA)

Thanks
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Page.SetTheme Method example VBA? Sorting method Steve Bartko Excel 6 10-26-2016 11:38 AM
Page.SetTheme Method example VBA? Why no 'SaveCopyAs' method? Cosmo Word VBA 4 10-18-2013 05:57 AM
Page.SetTheme Method example VBA? Creating a sorting method. Balliol Word 2 07-25-2013 06:18 AM
Page.SetTheme Method example VBA? Shared Contacts & Calendars. Best method crobertson Outlook 1 05-08-2009 05:47 AM
Retrict Method Condition markp Outlook 0 12-22-2005 05:38 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:48 PM.


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