In MsWord, even though the last location of the cursor is saved automatically, that you could recall by Shift+F5 upon re-opening a document,
- You can neither set it to start in Outline view.
- Nor use that or any other bookmark on a collapsed Outline view to jump on.
Bookmark locations for a collapsed outline are invisible.
The closest option one can achieve is to open all levels of the outline and Then jump on the bookmark.
For the several hundred page scientific documents we use daily that is not acceptable, becuse it heavily decreases the usability of the Outline editor.
Web-view has nowdays also a collapsable Heading-system (where ironically also the bookmark goto works properly), but that lacks other important features that the real Outline view has.
It seems as if two sub-project teams had a hard time collaborating in the Office development team.
I haven't found a working solution on the net for days, so finally I sat down to come up with a reliably working solution (after trashing 3 dead-end ideas).
I will post the VBA code snippets in the response.
Word | VBA - How to start Word in Outline view - opened exactly where you left off?
274 Views Asked by Ádám Bukovinszki At
1
There are 1 best solutions below
Related Questions in VBA
- Toggle "conversation view" in Outlook with VBA
- VBA query - sort text in alphabetical order in Word
- Excel - Visual Basic, macro with autofill "1"
- Getting Run-time error '13': Type Mismatch using .Find
- Getting website metadata (Excel VBA/Python)
- How to use VBA to bold just some text
- VBA Code to filter and get values from csv to excel worksheet
- Azure Batch for Excel VBA
- How can i printpreview multiple excel sheets, with the names of the sheets located in a range?
- Comparison the data of two row and unique number highlight and show below of it
- Is there a way to pass Today's date as a command line argument to Excel from a Windows Task Scheduler Job
- Xero Upload Invoice file using API
- Visual Basic For Application Related Question
- Trying to give color to column field headers in pivot table with vba
- General error handler: If any error in UserForm other than msgBox: Err.Description
Related Questions in MS-WORD
- VBA query - sort text in alphabetical order in Word
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- How can I create an automatic table of contents in docx without the text being bold?
- Does MS Word secretly upload my file to cloud?
- How to use VBA to bold just some text
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Access all documents for Word from multiple instance using Excel VBA
- Using document.Application.PixelsToPoints will give different results
- Error: "Document_KeyUp" event not working
- Word macro for reversing selected text
- Make a table of remarks/figures, and format it as a table
- Add custom ribbon button to dotm file that runs macro
- Inline pictures: Add margin
- Excel VBA: Action logging on label click (like Audit Trail)
- Custom referencing format in CSL document, Want to add whitespace into bibliography
Related Questions in BOOKMARKS
- How to create a bookmarklet to change maxlength of an input box
- Issue with script to inject bookmarks into Edge (Chromium based) and Google Chrome
- Unexpected backend calls in Visual Studio when hovering over bookmarks in Opera
- Bookmark feature misbehave when hovercard feature is implemented in typescript
- Save a Bookmark which can open 2 URLs one after another
- Is it possible to use env variables into a local file URI protocol?
- How do I move bookmarks from operasync to visible toolbar?
- Copy Data from Excel to fill into Word Templates with Bookmarks
- Disable/Enable Multiple 'between' Date Slicers
- Modifying a file saved as bookmarkData in iOS SwiftUI
- Google Chrome Highlight nofollow links Javascript
- Multiple bookmark and formfields replacement from excel to word not working anymore
- In Laravel, how to redirect to target page after being intercepted to Login
- Insert tables and other content at certain bookmarks using python docx library
- How to replace the content set by bookmarks in Word using POI?
Related Questions in OUTLINE-VIEW
- Changing the position of NSOutlineView disclosure triangle and setting up icons for child nodes
- Unity Outline object Only when Player is Looking
- VS Code: Hide "declarations" in the outline view
- ungrouping Excel data saved as an Outline as a pivot table
- outline view in vscode not available
- In Visual Studio Code, is there a way to see the explorer on the left and the outline on the right?
- Outline shader with curves and transparency
- Reverted to VSC 1.31.1 for macOS but Outline not working
- Eclipse outline view does not display a sort icon
- How to outline a vector drawable?
- Extend an existing Context Menu inside Eclipse Outline View for Xtext
- Word | VBA - How to start Word in Outline view - opened exactly where you left off?
- Using firebase tree structure to represent a "document outline" structure directly
- JSDoc dojo.mixin for Eclipse outline view
- XCode 7 - How to rearrange source code elements
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For my solution I had to create a separate bookmark for each heading level above cursor location, to be able to open them one by one when the document is re-opened.
Note: I had some issues using range.goto, so instead I had to stick with manipulating Selection for now.
There are two sections - one is for saving the location and closing the document, the other is for opening it properly. - Best to place them inside Normal.dot modules.
the DocumentClosing macro:
...and the Opener macro:
(note: keep the name, that is needed for auto exacution upon starting of new doc.)