-
WSjoelfinkle
AskWoody LoungerSadly, most of the tables I view have been “monkeyed with” and querying the column width returns an error message that not all the cells in the column are the same width.
So it looks like I’ve got to iterate the whole table, checking the width of each cell on each row. Hmm.. I wonder if the cell width includes bewteen-cell spacing if used (and believe me, my users will have used it, against their own best interests).
-
WSjoelfinkle
AskWoody LoungerSadly, most of the tables I view have been “monkeyed with” and querying the column width returns an error message that not all the cells in the column are the same width.
So it looks like I’ve got to iterate the whole table, checking the width of each cell on each row. Hmm.. I wonder if the cell width includes bewteen-cell spacing if used (and believe me, my users will have used it, against their own best interests).
-
WSjoelfinkle
AskWoody LoungerThis is really no problem. The easiest way is to hide the variant stuff, overlapping in the same area, perhaps. When the listbox or combobox changes (lbWhatever_Change event), check the new value, and toggle the .visible property of the other fields.
In situations like this, I usually test *all* the variable items when anything changes, e.g.
strX = lbWhatever.Text
cbSomething.Visible = (strX=”Check”)
cbOther.Visible = (strX=”Money Order”)
cbElse.Visible = (strX=”Visa” or strX=”MasterCard”) -
WSjoelfinkle
AskWoody LoungerThis is really no problem. The easiest way is to hide the variant stuff, overlapping in the same area, perhaps. When the listbox or combobox changes (lbWhatever_Change event), check the new value, and toggle the .visible property of the other fields.
In situations like this, I usually test *all* the variable items when anything changes, e.g.
strX = lbWhatever.Text
cbSomething.Visible = (strX=”Check”)
cbOther.Visible = (strX=”Money Order”)
cbElse.Visible = (strX=”Visa” or strX=”MasterCard”) -
WSjoelfinkle
AskWoody LoungerThanks — that did help. First off, if you do need to scan every char, you can make some major performance gains by doing “For Each pgh in activedocument.storyrange(x)” and checking pgh.range.font.name. If it’s blank, you’ve got more than one font. If it isn’t, add it to your collected list of fonts.
In the PDF world, the list of fonts would be stored in a “resources” object in the doc. Too bad MS doesn’t expose something like that — it’s probably somewhere in the internals.
-
WSjoelfinkle
AskWoody LoungerThanks — that did help. First off, if you do need to scan every char, you can make some major performance gains by doing “For Each pgh in activedocument.storyrange(x)” and checking pgh.range.font.name. If it’s blank, you’ve got more than one font. If it isn’t, add it to your collected list of fonts.
In the PDF world, the list of fonts would be stored in a “resources” object in the doc. Too bad MS doesn’t expose something like that — it’s probably somewhere in the internals.
-
WSjoelfinkle
AskWoody LoungerWell, what I really need is not the *preferred* width, but the actual width of the table (I’m writing an auditing tool, that among other things will check for stuff outside of margins).
It bugs me that the GUI “knows” the width, but the programming interface won’t give it to me.
By the way… is there an Office/Word symbolic constant that means 9999999?
-
WSjoelfinkle
AskWoody LoungerWell, what I really need is not the *preferred* width, but the actual width of the table (I’m writing an auditing tool, that among other things will check for stuff outside of margins).
It bugs me that the GUI “knows” the width, but the programming interface won’t give it to me.
By the way… is there an Office/Word symbolic constant that means 9999999?
-
WSjoelfinkle
AskWoody LoungerI hate to be a spoilsport on this topic (especially several months later), but I’m concerned about docs that come from a machine other than my own, and might have *their* fonts somewhere in the doc. Since this routine starts by getting the list of the fonts on *my* system, it can’t know about any xenofonts, which are most likely to be the troublemakers.
Unfortunately, I can’t think of any method other than examining every character that can detect this.
For that matter, select some text, press ctrl-shift-F and type “Mumblemumble”
You’ll now have text in a font called “Mumblemumble” and the macro does not detect it at all. -
WSjoelfinkle
AskWoody LoungerI hate to be a spoilsport on this topic (especially several months later), but I’m concerned about docs that come from a machine other than my own, and might have *their* fonts somewhere in the doc. Since this routine starts by getting the list of the fonts on *my* system, it can’t know about any xenofonts, which are most likely to be the troublemakers.
Unfortunately, I can’t think of any method other than examining every character that can detect this.
For that matter, select some text, press ctrl-shift-F and type “Mumblemumble”
You’ll now have text in a font called “Mumblemumble” and the macro does not detect it at all. -
WSjoelfinkle
AskWoody LoungerProbably you mean “Compile on Demand”
That still sounds like it would have the potential for the user to stumble onto a compile-level error, which is never a nice thing.
I usually like to do a full compile of the project prior to saving and shipping to my clients, to be sure there’s no errors lurking, and that would be difficult with this method. Late binding sounds better all the time.Joel
-
WSjoelfinkle
AskWoody LoungerProbably you mean “Compile on Demand”
That still sounds like it would have the potential for the user to stumble onto a compile-level error, which is never a nice thing.
I usually like to do a full compile of the project prior to saving and shipping to my clients, to be sure there’s no errors lurking, and that would be difficult with this method. Late binding sounds better all the time.Joel
-
WSjoelfinkle
AskWoody LoungerMike,
Thanks for the info. I was pretty sure that was the case, and I just got a note back from their tech support confirming it. They think it’s a good idea, and encouraged me to submit it to their feature request page (I’m sure I’ve done so years past).Thanks for the note about the flightiness of the bibliography in Cite-While-You-Write. That’ll save me a lot of frustration. Probably, I’ll want to do it only as a pre-publish step to ensure finality of the bibliography, and ensure I do it each time we publish to ensure that they haven’t been replaced. The code’s pretty straightforward, so far as I can tell.
-
WSjoelfinkle
AskWoody LoungerMike,
Thanks for the info. I was pretty sure that was the case, and I just got a note back from their tech support confirming it. They think it’s a good idea, and encouraged me to submit it to their feature request page (I’m sure I’ve done so years past).Thanks for the note about the flightiness of the bibliography in Cite-While-You-Write. That’ll save me a lot of frustration. Probably, I’ll want to do it only as a pre-publish step to ensure finality of the bibliography, and ensure I do it each time we publish to ensure that they haven’t been replaced. The code’s pretty straightforward, so far as I can tell.
-
WSjoelfinkle
AskWoody Lounger(Edited by HansV to make URL clickable – see Help 19)
Anyone have experience with Reference Manager from ISI Researchsoft? http://www.refman.com/%5B/url%5D
Their tool does a great job with managing the references (hence the name, I guess), but it uses its own ADDIN fields, as opposed to MS Word REF fields to link the citations (e.g. (Borgel, 1997)) to the reference (Borgel, D. P. 1997, “The theory of something or other”…).What I need is to be able to hyperlink from the citation to the ref, which is obvious with a REF field, and survives the transit to PDF using common tools.
Has anyone done this already, or will I have to invent this wheel? [Wheel will be for sale shortly if I do]
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
2 hours, 39 minutes ago -
Firefox 139
by
Charlie
1 hour, 55 minutes ago -
Who knows what?
by
Will Fastie
25 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
16 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
12 hours, 32 minutes ago -
Misbehaving devices
by
Susan Bradley
2 hours, 24 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
1 day, 6 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
1 hour, 33 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
1 day, 4 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
3 hours, 58 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
19 hours, 3 minutes ago -
Rufus is available from the MSFT Store
by
PL1
1 day, 3 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
2 days, 5 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
5 hours, 45 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
4 hours, 28 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
2 days, 1 hour ago -
Office gets current release
by
Susan Bradley
2 days, 4 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 18 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
3 days, 2 hours ago -
Stop the OneDrive defaults
by
CWBillow
3 days, 19 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
4 days, 5 hours ago -
X Suspends Encrypted DMs
by
Alex5723
4 days, 7 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
4 days, 7 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
4 days, 8 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
4 days, 8 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days, 21 hours ago -
Enabling Secureboot
by
ITguy
4 days, 4 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 16 hours ago -
No more rounded corners??
by
CWBillow
4 days, 12 hours ago -
Android 15 and IPV6
by
Win7and10
4 days, 2 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.