-
WSdale.lacey
AskWoody LoungerFebruary 15, 2006 at 12:02 am in reply to: Identifying failed hyperlinks in Word document (Any) #1000216Hi Hans
I was thinking of using it for Word documents that are going to be subjected to a process that creates an HTML version. I guess all the targets will be in one of the the following formats:
- http address (eg, http://support.microsoft.com)
- www address (eg, http://www.microsoft.com) (but I think Word might convert that to an http anyway)
- filename (eg, abc.htm or abc.doc or abc.pdf or …)
- filename at relative address (eg xyzabc.htm or ….downloadsabc.doc)[/list]In fact, it’s more than just hyperlinks, isn’t it. For example, images should be included (field type of INCLUDEPICTURE), and no doubt there are others.
And I guess a full blown solution would also handle formats such as file://. And I suppose it sould also create a report containing warnings (eg, any “file://” address is suspect since it will fail when published on the net).
However, if anything’s out there, I’d be very interested. And if there isn’t anything available, I’ll have a go myself, but starting small.
Thanks
Dale
-
WSdale.lacey
AskWoody LoungerFebruary 2, 2006 at 7:54 pm in reply to: Test whether document have ever been saved (Word97/NT) #998093False alarm, Hans. I wanted to force the user to save the document, so I tested the Path then issued an ActiveDocument.FileAs. (Wrong, Dale, should have been a “Dialogs (wdDialogFileSaveAs)”.) Surprisingly (to me), Word now saves the document with a name of its choice in a folder of its choice (in this case, H:).
Ah well, I’ll use the Dialogs statement (as I should have done in the first place), and it looks like Path remains a good test for never-savedness.
Sorry for the blunder
Dale -
WSdale.lacey
AskWoody LoungerThanks, Jerry. Those references were very helpful.
Actually, I think I may just have changed my mind about frames. I like them because they provide an easy way of keeping the navigation in view, even when the user pages down. The big negative, of course, is that bookmarking effectively doesn’t work when you use frames.
However, I’ve now discovered that
s can be positioned dynamically (I must have been sleeping when the news came out). I haven’t found any example code, yet, but it must be possible to put the navigation in aand dynamically keep thevisible. I presume you would use the onkeyup event (or similar) to trigger the movement.Mmmm, interesting.
Thanks again
Dale -
WSdale.lacey
AskWoody LoungerI’ve finally found the problem. Look carefully at the following code and spot the offending characters:
<td class=
-
WSdale.lacey
AskWoody LoungerHi Mark
Yes, I’m getting the same results. Curiously (apparently) identical code is working in other documents, which proves it’s not the platform and (I think) not the font. But obviously there IS a difference.
During the weekend (it’s nearly 5pm on a Friday here in New Zealand) I’ll try stripping one of the “working” documents down to the bare essentials and see if I can get to the bottom of it.
PS: I just discover that inadvertently clicking the Escape key deletes everything you’ve patiently entered into the WOPR message box. It’s definitely Friday.
Thanks
Dale -
WSdale.lacey
AskWoody LoungerThanks to you both. I wasn’t aware of IFRAME, and will use that.
Dale
-
WSdale.lacey
AskWoody LoungerI was hoping to do it using HTML, without using a FrontPage component. (I’m using FrontPage as an editor, but the site’s not being published as a FrontPage website.)
Can do?
Dale -
WSdale.lacey
AskWoody LoungerHi John
I haven’t explained it carefully enough. The attached picture shows the cursor having changed to a hand even though the cursor is way out to the right, past the end of the text. If they had hyperlinked the text (“Links, news & contacts”), the hyperlink would only be active to over the text. So they must have done something else.
Understand? (I find it a bit difficult to describe.)
Dale
-
WSdale.lacey
AskWoody LoungerThat’ll do me, Don. Very pragmatic solution. And thanks to everyone else who contributed.
By the way, I probably should have given a bit more context when I started this off.
-
WSdale.lacey
AskWoody LoungerHi Don
The macro project is in the attached template (not Normal). And it’s the AutoOpen in the attached template that’s being triggered.
Dale
-
WSdale.lacey
AskWoody LoungerHi Howard
I should have made it clearer. In all four testing scenarios there was a Stop at the start of AutoOpen,
Dale
-
WSdale.lacey
AskWoody LoungerHi Andrew
I tried disabling auto macros, but that didn’t work. I’ve just retested it (with the disable statement right at the very start of the macro), and it still doesn’t stop AutoOpen from being triggered.
And no, like you I can’t imagine how the MsgBox would cause the problem.
To summarise, there are four situations:
- If I disable auto macros AND don’t have a Stop in the macro THEN I reach the Stop I’ve put into AutoOpen.
- If I disable auto macros AND put a Stop immediately before the MsgBox THEN the macros stop gracefully at the Stop.
- If I disable auto macros AND put a Stop immediately after the MsgBox THEN I get “cannot execute in break mode”.
- If I disable auto macros AND don’t have a Stop in the macro AND comment out the MsgBox THEN I reach the Stop I put into AutoOpen.
NOTE: Facts 2 and 3 [i]edited later[/i] seems to imply that MsgBox is the problem, fact 4 seems to imply it’s not.
PS: I’m running the macro directly, so it’s not possible that control is being passed to another macro after the MsgBox statement.Confusing, eh
Dale -
WSdale.lacey
AskWoody LoungerHoward
That’s why I’m confused. AutoOpen appears to be being triggered by a MsgBox statement.- If I put Stop before the MsgBox, it stops gracefully.
- If it goes after the MsgBox, I get “cannot execute in break mode”.
- If I don’t have any Stop statement in that macro, the AutoOpen gets executed.
- If I comment out the MsgBox statement, the AutoOpen gets executed.[/list]Maybe I need to “clean” the project.
Hans
It’s a bit of a brute, but here are the two key macros.Yours in bewilderment
Dale
-
WSdale.lacey
AskWoody LoungerHi Jefferson
When I try it, “Dialogs(wdDialogInsertHyperlink).Display” gives me “variable not defined”???
ADDED LATER: Ah, I’ve just noticed your “Disclaimer: only checked on Word 2002 (Office XP)”. Looks like 97 didn’t have it.
Thanks
Dale -
WSdale.lacey
AskWoody LoungerNovember 5, 2005 at 10:04 pm in reply to: Change location of Favorites and My Documents (XP Home Edition) #983297Pros and cons
Ah, but that’s the very point, I want everything in the same folder structure. I’ve had my files organised that way for a couple of years now (ever since I went broadband) and it works brilliantly.When you think about it, why would you want your files segregated into two separate folder structures? If I want to browse through my resources relating to (say) existentialism, I go to FavoritesExistentialism and there they all are (files, shortcuts to files, and shortcuts to web-based pages and files). It doesn’t matter to me whether they’re web-based or hard-drive-based.
As I see it, there are zero advantages to segregating files based on type or physical location, and there are zero disadvantages to putting them in the same folder structure.
Which brings me back to Mr Gates and his software. There is actually one disadvantage to my approach (yes, I lied), which is that, in some situations, software defaults to the MyDocuments folder. My workaround is to have a shortcut to Favorites in MyDocuments (in fact, it’s the only file in MyDocuments). But it would be more elegant to have Favorites and MyDocuments defined as the same folder; hence my original post. (I could also put My Documents down a level under Favorites, but that’s one extra click. Also, I have some very deep folder structures, which means I occasionally run into path-length problems.)
Can it be done
Back to whether it can be done, I started to define MyDocuments as c:Favorites and TweakUI warned me “Don’t set two special folders equal to each other, or set a special folder equal to a system folder like the Fonts folder”. (I knew I’d seen the warning somewhere.) So it looks like I’d better not do it.As a matter of interest, does anyone know why TweakUI issues this warning, or are they just being overly cautious?
Thanks
Dale
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 hours, 39 minutes ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
3 hours, 1 minute ago -
Outdated Laptop
by
jdamkeene
8 hours, 5 minutes ago -
Updating Keepass2Android
by
CBFPD-Chief115
13 hours, 30 minutes ago -
Another big Microsoft layoff
by
Charlie
13 hours, 9 minutes ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
4 hours, 7 minutes ago -
May 2025 updates are out
by
Susan Bradley
13 hours, 34 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
19 hours, 13 minutes ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
19 hours, 15 minutes ago -
Drivers suggested via Windows Update
by
Tex265
19 hours, 6 minutes ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
16 hours, 50 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
1 day, 2 hours ago -
Apple releases 18.5
by
Susan Bradley
20 hours, 31 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
1 day, 3 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
1 day, 4 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
11 hours, 25 minutes ago -
No HP software folders
by
fpefpe
1 day, 11 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
9 hours, 10 minutes ago -
Stay connected anywhere
by
Peter Deegan
1 day, 17 hours ago -
Copilot, under the table
by
Will Fastie
1 day, 8 hours ago -
The Windows experience
by
Will Fastie
1 day, 23 hours ago -
A tale of two operating systems
by
Susan Bradley
3 hours, 41 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
2 days, 4 hours ago -
Where’s the cache today?
by
Up2you2
2 days, 20 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 days, 12 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 day, 13 hours ago -
Blocking Search (on task bar) from going to web
by
HenryW
15 hours, 27 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
3 days, 13 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
3 days, 13 hours ago -
regarding april update and may update
by
heybengbeng
3 days, 14 hours ago
Recent blog posts
Key Links
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.