Pam & Andrew.
Thank you again. I will ask a user for one of the affected docs at work tomorrow morning and post it. I will also see if I can explain the workaround in a simple way, or make a macro...
Type: Posts; User: Stylus; Keyword(s):
Pam & Andrew.
Thank you again. I will ask a user for one of the affected docs at work tomorrow morning and post it. I will also see if I can explain the workaround in a simple way, or make a macro...
Andrew,
The macro that attaches the global, for stye updating purposes, resides in the global. The global therefore has to be added first. So the sequence is: Word opens, pulls in the Global from...
Several users have their the list style "Article/Section" applied to their heading styles. I see that Microsoft describes how this can happen, calling it a "harmless little bug."
...
Andrew,
Thanks for these insights and the code snippet. I've been distracted, struggling with another issue (see my new thread), hence my delayed response.
I am going to poll the Word users in...
Thank you both!
Andrew, my concern has been to avoid changed/corrupted templates and styles breeding like rabbits in the brush. I've been through that, with year-old problems suddenly reappearing...
Pam
Thank you for staying with this.
My custom global does indeed provide macros and a custom ribbon, and I'd like to add building blocks to it as well, so my whole strategy depends on Word...
Pam
What can I say... it was Friday afternoon...:blush: Henceforth I will read ALL the material someone links me to. Thank you for patience!
I have been experimenting with this situation and so...
Pam
I looked at the article you linked to. The file that remains doesn't have a .tmp extension, so I guess I should not have called it a temp file.
The file I have a problem with drops the...
Thanks Kim,
I've set the macro to use Word.Options.DefaultFilePath(wdUserTemplatesPath) & "\" & "normal.dotm". I've sent some samples out to users to see if there are more problems.
I have a...
I have all my styles in a global template on a server, and copy these styles to active docs by first attaching the global template to the active doc, then either reattaching the original template or...
Thank you Andrew.
One concern I have is writing the macro's filepath to Normal so that every user's Word will find its own local Normal. I am assuming/hoping that Word will know this whereabouts...
I'm setting up a Global template, styles, and Workgroup Templates where I work.
Recently someone attempted to open a doc, based on one of my templates, while not connected to our network. After he...
Got it to work, though in a puzzling way:
The sub I was calling from a sub in the class module was "Private". When I made private sub into a normal sub, the class module was able to call it.
...
John
Thanks for your reply. Let me give some details so you will understand what I'm doing.
I need certain functions performed when a new or existing doc is opened, even if Word is already...
How can I run a sub, located in class module, from a "normal" module? Is this even technically possible? I keep getting compile errors...
I have tried moving the sub to the "normal" module and...
Andrew
That fixed it, thank you.
aaaah, I was a bit hasty there...
By recording a macro I found that the code for the No-Width Optional Break symbol is 8204. I attempted to insert that into my macro-generated string by writing
...
BigMac56 & Andrew
Thank you. The thing is that the slashes are for human eyeballs, so replacing them won't work.
However... I could combine the slash with the NWOB! I just googled that thought...
Yes, Word wraps dependent on where the margins are - at the margin, regardless of the content it is wrapping.
I want to use VBA to insert a line break so that I can control where in the text the...
How can I get VBA to determine the point where Word will place a line break in a string? I want to control where the line breaks, by finding the last instance of a certain character before Word’s...
nevermind...
Figured it out:
With style etc
CurrentLanguage = Languages(Selection.LanguageID)
Paul
I was occupied with another project, and neglected to thank you for this code!
I want to use a macro to check the language settings for styles. Using style.languageID returns a number. :huh:
I want the NAME of the language.
I have found this code in stackoverflow:...
Eric,
Filtering for BuiltIn will limit the scope of the macro to your custom styles. On the net I found a good example of determining an "actual" in-use status on Greg Maxey's site:...
I just noticed that your name is Paul, so henceforth
Paul:
Thanks for the code. That cracked it! I have things working nicely now. The loop I posted was just to show the principle. In actual...