Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2015, 07:52 AM
jPrisk jPrisk is offline word vba to open at specific outline level Windows 7 32bit word vba to open at specific outline level Office 2013
Novice
word vba to open at specific outline level
 
Join Date: Sep 2015
Posts: 1
jPrisk is on a distinguished road
Default word vba to open at specific outline level


I'm not able to figure out how to get my doc to open in print layout view and display only level 1 headings that I have for an outline I made. I figured out how to open it at level 1 heading in outline view but I want it to open at level 1 in print layout view also. I have the following code written but it doesn't seem to be working.

Sub ViewOutlineMaster()
ActiveWindow.View.Type = wdPrintView
ActiveWindow.View.ShowHeading (1)
End Sub


-any help would be greatly appreciated!
Reply With Quote
  #2  
Old 09-10-2015, 06:14 PM
Guessed's Avatar
Guessed Guessed is offline word vba to open at specific outline level Windows 7 32bit word vba to open at specific outline level Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,974
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

What exactly do you think Print View would look like if you were only showing the Heading 1s? Surely the only way to hide the non-headings would be to use Outline View.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
word vba to open at specific outline level What is Outline Level mmoid2015 Word 1 01-16-2015 03:55 AM
word vba to open at specific outline level Macro to toggle outline level Jennifer Murphy Word VBA 3 01-22-2014 11:22 PM
word vba to open at specific outline level Querying the paragraph outline level Jennifer Murphy Word VBA 1 01-18-2014 01:20 AM
word vba to open at specific outline level Paragraph Outline level changes bburns Word 10 07-16-2013 02:34 AM
Outline level to Body Text dariober Word 0 08-23-2010 02:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:04 AM.


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