Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-13-2021, 06:57 AM
Lup Lup is offline Problem with "OpenAsDocument" Windows 10 Problem with "OpenAsDocument" Office 2013
Novice
Problem with "OpenAsDocument"
 
Join Date: Jul 2018
Location: Finland and Spain
Posts: 15
Lup is on a distinguished road
Default Problem with "OpenAsDocument"

I have a Word macro that cleans up the styles attached to a document. It goes through all the styles and deletes all that are not built-in, in use, or present in the template attached to the document. It works OK, But:
It is necessary to open the template as a document to get at the Styles collection in it. That causes the template to pop up as a document on the screen. Quite an annoyance! Initially, it also screwed up the whole macro as it made the template the ActiveDocument, which didn't suit other procedures. That's now taken care of.
But how do I the template removed from the screen? Or made invisible?
_Lup
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
typing "scr" and problem with "extending selection" danielmatt Word 16 07-21-2019 12:31 PM
extract email from google search "help" please " i can pay no problem after test" mohamedabdu Excel Programming 1 08-22-2018 07:43 PM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
Problem with "OpenAsDocument" Problem with "Next page" section break automatically turning into "Odd or Even Page" c_gallagher25 Word 1 02-12-2014 04:27 PM
Problem with "OpenAsDocument" How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:49 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