-
WSfrankpasztor
AskWoody LoungerOctober 15, 2007 at 1:37 pm in reply to: Revisit to Trapping Keystrokes In A Document (Word 2003/2007 VBA) #1079566Boy was I on the wrong track! Thanks Hans.
-
WSfrankpasztor
AskWoody LoungerI’ve got dual monitors and have had no problems whatsoever, they act as one large desktop. Perhaps your video card is the problem. Could your system be trying to open Word in BOTH the monitors (as if each was a normal single monitor)?
-
WSfrankpasztor
AskWoody LoungerYou are a Wise, hands on kinda guy.
I’m going to try that out thanks. -
WSfrankpasztor
AskWoody LoungerI was using the following API call;
Public Declare Function SetTimer Lib “user32” ( _
ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Longand the trigger event;
SetTimer 0, 0&, 100&, AddressOf mTimerBecouse I don’t know how to get the windows handle from VBA I used 0 as the first parameter. The result was that I could create the timer and use it, but I couldn’t kill it when I was finished. OK if you only have one or two rogue timers running but eventually ya gotta reboot.
-
WSfrankpasztor
AskWoody LoungerHave you looked at Microsoft OneNote? Its really at its best on a tablet PC but for jotting down ideas and then organising them it does beat a more structured product like Word.
-
WSfrankpasztor
AskWoody LoungerUse outline numbering, make the style that triggers renumbering a level 1.
-
WSfrankpasztor
AskWoody LoungerControls(NumericIndex). is the easiest way to access a control becouse its a straight 1 based index.
First control is 1 etc. -
WSfrankpasztor
AskWoody LoungerThanks for the reply Gray,
I’m hitting Google, and every other source that I can think of. Info from Mekon (& everywhere else for that matter is pretty thin). I was hoping to find code samples but I guess that was too much to hope for.
Anyway, you never know what you can find if you don’t look. Again thanks for your reply.
-
WSfrankpasztor
AskWoody LoungerJanuary 11, 2005 at 9:35 pm in reply to: How to Lower characters in equations (Word 2000 SR 1) #920788I’m not sure wether this is what you’re after or not but you can use the EQ field to displace/overwrite characters.
Judith M{ EQ S©}Name would give you a superscript and you can format this character separately.
Similarly { EQ o( -
WSfrankpasztor
AskWoody LoungerJanuary 11, 2005 at 9:35 pm in reply to: How to Lower characters in equations (Word 2000 SR 1) #920789I’m not sure wether this is what you’re after or not but you can use the EQ field to displace/overwrite characters.
Judith M{ EQ S©}Name would give you a superscript and you can format this character separately.
Similarly { EQ o( -
WSfrankpasztor
AskWoody LoungerGranted that its probably better not to have code run by the document, but what about putting the code in the Document_Open procedure of the documents ThisDocument module?
-
WSfrankpasztor
AskWoody LoungerGranted that its probably better not to have code run by the document, but what about putting the code in the Document_Open procedure of the documents ThisDocument module?
-
WSfrankpasztor
AskWoody LoungerNovember 11, 2004 at 1:42 am in reply to: Apply Template to Existing Document (Word 2002 SP3) #898346Zara,
That depends on the structure of the documents and how deep into VBA you’re willing to go. I’ve automated a similar problem but across
multiple variants of several templates. Things can get very complicated very quickly if you try automating everything, including stuff that
you should have left alone.If the existing documents are based around paragraph styles and you can do everything you need using Find & Replace
then you could automate a lot of it by recording macros and connecting these to a toolbar.If there’s no structure (ie everything is in Normal style with individual paragraphs having the font and size altered) then you
will be in for a fair amount of grief trying to automate the conversion unless your proficient in VBA. But at the least the process of
Attaching the doc to its new template and copying over the new styles can be done without too much drama.Could you supply anymore info on just what you need to do? And which version/s of Word you are using.
-
WSfrankpasztor
AskWoody LoungerNovember 11, 2004 at 1:42 am in reply to: Apply Template to Existing Document (Word 2002 SP3) #898347Zara,
That depends on the structure of the documents and how deep into VBA you’re willing to go. I’ve automated a similar problem but across
multiple variants of several templates. Things can get very complicated very quickly if you try automating everything, including stuff that
you should have left alone.If the existing documents are based around paragraph styles and you can do everything you need using Find & Replace
then you could automate a lot of it by recording macros and connecting these to a toolbar.If there’s no structure (ie everything is in Normal style with individual paragraphs having the font and size altered) then you
will be in for a fair amount of grief trying to automate the conversion unless your proficient in VBA. But at the least the process of
Attaching the doc to its new template and copying over the new styles can be done without too much drama.Could you supply anymore info on just what you need to do? And which version/s of Word you are using.
-
WSfrankpasztor
AskWoody LoungerI guess this response falls into the whatever category.
The attachment is a Word doc that carries a module that ‘colours’ documents. The background of it was a conversion /translation utility that
cycled thro’ a docs paragraphs and changed the background color. This resulted in a starting document that was evenly coloured.As the translator ran it again cycled through the doc para by para, a successful conversion reset the paras color to auto, errors where then represented
by other colors. The end result was a document where process used/failed/success where all clearly visible. This allowed users to carry out conversions
over a number of sessions.And all without having to generate INI files to keep track of everything. Anyway, this module has a test sub that I hope is pretty self explanitory.
It can either shade paras that contain a specified style or Not, It then has another function that carries out some action based on a paras colour.
![]() |
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
-
Android 15 and IPV6
by
Win7and10
1 hour, 56 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
8 hours, 7 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
10 hours, 48 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
5 hours, 23 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
18 hours, 8 minutes ago -
May preview updates
by
Susan Bradley
5 hours, 31 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
7 hours, 42 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
10 hours, 19 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
7 hours, 24 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
4 hours, 33 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 9 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
4 hours, 45 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 21 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 15 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 11 hours ago -
Another test post
by
gtd12345
2 days, 11 hours ago -
Connect to someone else computer
by
wadeer
2 days, 5 hours ago -
Limit on User names?
by
CWBillow
2 days, 9 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 22 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 6 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 5 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
2 days, 1 hour ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 21 hours ago -
Woody
by
Scott
3 days, 7 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 6 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days, 21 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 15 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 11 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
1 day, 6 hours ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
5 days, 6 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.