-
WSdale.lacey
AskWoody LoungerAugust 30, 2005 at 3:25 am in reply to: Wildcards search excluding a specified character (Word97) #969619Thanks, Andrew. Quite powerful, isn’t it. Reminds me of conversion mechanism that was used by Folio Views.
Is it possible to exclude a string? For example, let’s say the document contains the following text: “XyyybcyyyXyyycbyyyX”, and I want to find all strings starting and ending with X, but not including the string “bc” (that is, I want to find “XyyycbyyyX”, but not “XyyybcyyyX”).
Thanks for your help
Dale -
WSdale.lacey
AskWoody LoungerThanks, Hans and Brett.
- I’d forgotten it’s an scf, not an exe. However, this PC doesn’t have any scf’s on the C drive and, if I create the file, Windows doesn’t recognise the filetype (I’m running under NT4/IE6). Maybe they’ve haven’t installed full functionality.
- I tried clicking a blank spot on the taskbar and clicking Alt+M, but that didn’t work either.[/list]Looks like I’d better ask for a keyboard with a Windows key.
Thanks for your help
Dale
-
WSdale.lacey
AskWoody LoungerHi
Consider the following AutoExec:
Public Sub AutoExec() Stop MsgBox "Success" End Sub
I’ve experimented putting the Stop command before and after the MsgBox. (Modify, save project and close Word, reopen to see what happens.) If the MsgBox is before the Stop command, it always triggers. If the Stop command is before the MsgBox, then:
- Sometimes nothing happens when you open Word.
- Sometimes the Msgbox triggers (in other words, the Stop command gets ignored).[/list]Very peculiar. I think I’m tired of this. It’s working now.
Thanks
Dale
-
WSdale.lacey
AskWoody LoungerHi
It also fails on a Word2000/98 machine. It used to work, so it looks like there’s something wrong with the template. I tried Bill Coan’s Word VBA Cleaner, but that didn’t help.
Ah well, when I get time I’ll do some more experimenting to isolate the problem.
Thanks for your help
Dale -
WSdale.lacey
AskWoody LoungerNone of the above. And, there’s no AutoExec in the normal template.
Curious. I’ll try the same template on a standalone PC tonight and see if it works.
Thanks
Dale -
WSdale.lacey
AskWoody LoungerHi John
I was using a toolbar I created myself. If I display the Standard toolbar, it works (and not just from the Contacts folder).
But I’m confused (this happens to me a lot). In the attachment, the top toolbar is “Standard” and the second is my customised toolbar. Points to note are:
- F11 works for the “Type a contact to find” box.
- If I hide the Standard toolbar, the “Type a contact to find” box in my customised toolbar doesn’t work. (It’s the same object; I created it by drag-copying the one in the Standard toolbar.)
- My original search box (the one in the second toolbar, just after the Book icon doesn’t display the words “Type a contact to find” (and F11 doesn’t work with it.) Goodness knows where I got it from. It works okay, but obviously is slightly different.
- If I copy my “blank” search box to the Standard toolbar and delete the “Type a contact to find” one, F11 works with the “blank” one.[/list]Curious. Anyway, you’ve solved my “F11 doesn’t work” problem, thanks. Does anyone have any ideas for question 2 (how to access the “Type a contact to find” box from outside of Outlook). Probably not possible.
Thanks
Dale
-
WSdale.lacey
AskWoody LoungerHi
I’m using Office 2003. Two questions:
- F11 doesn’t work for me, even if I’m in the Contacts view. Any ideas why not?
- I’m pretty sure this isn’t possible, but what I’d dearly like is to be able to access the FindAContact box from outside Outlook. Smething like WindowsKey+R to get the Run box.
PS: Re Alt+F not working, I’m pretty sure “underlined text shortcuts” only work if the text is visible. For example, you could make the shortcut to the FindAContact box work by display ImageAndText (except, for some reason, it’s greyed).
Thanks
Dale -
WSdale.lacey
AskWoody LoungerAh, silly me.
Interesting, though. Having the “Windows in Taskbar” option on reveals that Word keeps all “visited” documents open, even if you use the Back button. (For example, click a hyperlink in doc A to open doc B, then click the Back button to return to doc A.) It can get a bit messy.
Thanks for your help, Hans
-
WSdale.lacey
AskWoody LoungerIf you record a macro, WordBasic.ShowFormatting is used to toggle the setting. Curious. Maybe some Microsoft programmer is hankering for the old days!
I may be old, but I can adapt. I’ll use ActiveWindow.View.ShowFormatChanges.
Thanks for your help, Hans
Dale -
WSdale.lacey
AskWoody LoungerHi Hans
Wierder and wierder.
-
WSdale.lacey
AskWoody LoungerHi William
If I remember right (I can’t find the post where it was discussed):
- If a file type is configured to open in IE (rather than in the application, eg Word), then auto macros fire when triggered from a web page.
- But if the file type is configured to open in the application, then auto macros don’t fire.[/list]I didn’t realise it was different for non-IE browsers, but I live in a Microsoft world anyway.
-
WSdale.lacey
AskWoody LoungerHi William
If I remember right (I can’t find the post where it was discussed):
- If a file type is configured to open in IE (rather than in the application, eg Word), then auto macros fire when triggered from a web page.
- But if the file type is configured to open in the application, then auto macros don’t fire.[/list]I didn’t realise it was different for non-IE browsers, but I live in a Microsoft world anyway.
-
WSdale.lacey
AskWoody LoungerThanks Ian and Phil
An AutoOpen macro would work for documents saved on a file server, but auto macros don’t run when you download a Word document from an intranet. Another issue is whether it’s appropriate to change a user’s settings, especially since those settings affect all documents they open.
Keeping a separate master copy for documentors doesn’t fit well with the now pretty standard approach of making the intranet copy the master (which has various advantages).
Thinking more about the problem, the core of the issue is the DEGREE of visibility of the comments:
- In Word 97, the fact that a comment exists is evident (to anyone with ShowAll on) because a small unobtrusive indicator appears next the the word the comment is attached to. A documentor would know to read the comment; an ordinary reader mightn’t even notice it.
- In Word 2003, the balloon is extremely useful for documentors, but very intrusive for ordinary readers. (This only applies to PrintLayout view, but PrintLayout view is more effective for reading highly-structured documents like manuals.)[/list]I guess what I’d really like is an equivalent to Excel’s vbSheetVeryHidden setting; except this would be vbCommentsIndicatorVisibleButBallonsHidden.
Anyway, I think my question has been answered. There is no comments-controlling setting that applies to the document (rather than the user), and I’m going to have to find a different approach.
Thanks for your help
Dale
-
WSdale.lacey
AskWoody LoungerThanks Ian and Phil
An AutoOpen macro would work for documents saved on a file server, but auto macros don’t run when you download a Word document from an intranet. Another issue is whether it’s appropriate to change a user’s settings, especially since those settings affect all documents they open.
Keeping a separate master copy for documentors doesn’t fit well with the now pretty standard approach of making the intranet copy the master (which has various advantages).
Thinking more about the problem, the core of the issue is the DEGREE of visibility of the comments:
- In Word 97, the fact that a comment exists is evident (to anyone with ShowAll on) because a small unobtrusive indicator appears next the the word the comment is attached to. A documentor would know to read the comment; an ordinary reader mightn’t even notice it.
- In Word 2003, the balloon is extremely useful for documentors, but very intrusive for ordinary readers. (This only applies to PrintLayout view, but PrintLayout view is more effective for reading highly-structured documents like manuals.)[/list]I guess what I’d really like is an equivalent to Excel’s vbSheetVeryHidden setting; except this would be vbCommentsIndicatorVisibleButBallonsHidden.
Anyway, I think my question has been answered. There is no comments-controlling setting that applies to the document (rather than the user), and I’m going to have to find a different approach.
Thanks for your help
Dale
-
WSdale.lacey
AskWoody LoungerHi
Does anyone know whether these reformatting problems persist in Word 2003?
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
-
Installer program can’t read my registry
by
Peobody
3 hours, 3 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
5 hours, 12 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
2 hours, 56 minutes ago -
False error message from eMClient
by
WSSebastian42
2 hours, 50 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
11 hours, 55 minutes ago -
Office 2021 Perpetual for Mac
by
rebop2020
13 hours, 7 minutes ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
4 hours, 27 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
16 hours, 39 minutes ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
2 hours, 40 minutes ago -
Outdated Laptop
by
jdamkeene
22 hours, 5 minutes ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 3 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 3 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
6 hours, 35 minutes ago -
May 2025 updates are out
by
Susan Bradley
2 hours, 29 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
1 day, 9 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
1 day, 9 hours ago -
Drivers suggested via Windows Update
by
Tex265
1 day, 9 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 6 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
1 day, 16 hours ago -
Apple releases 18.5
by
Susan Bradley
1 day, 10 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
1 day, 17 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
1 day, 18 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
2 hours, 33 minutes ago -
No HP software folders
by
fpefpe
2 days, 1 hour ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
23 hours, 10 minutes ago -
Stay connected anywhere
by
Peter Deegan
2 days, 7 hours ago -
Copilot, under the table
by
Will Fastie
9 hours, 38 minutes ago -
The Windows experience
by
Will Fastie
2 days, 13 hours ago -
A tale of two operating systems
by
Susan Bradley
17 hours, 41 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
2 days, 18 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.