-
WSpieter
AskWoody Loungera control array is only possible in vb
for vba you could name the controls e.g textbox1 thru textbox10 and then this code inside the userform (untested)
for loopc=1 to 10
thisworkbook.sheets(1).range(“a1”).offset(loopc+1,0).value=controls(“textbox” & cstr(loopc))
next -
WSpieter
AskWoody Loungera control array is only possible in vb
for vba you could name the controls e.g textbox1 thru textbox10 and then this code inside the userform (untested)
for loopc=1 to 10
thisworkbook.sheets(1).range(“a1”).offset(loopc+1,0).value=controls(“textbox” & cstr(loopc))
next -
WSpieter
AskWoody Loungerhi Henrik,
“I have a customized toolbar that is attached to the activedocument’s attachedtemplate and resets itself when documents based on the template are active.”
could you explain this further?
as i am interpreting it now, it seems to me you don’t need to create a beforesave event at all, but your code that resets “itself”?? needs a customizationcontext to prevent other templates from getting dirty. this will prevent word from asking to save the template.
‘pseudocode:
prevcc=customizationcontext
customizationcontext=activedocument.attachedtemplate
‘your reset code
activedocument.attachedtemplate.saved=true
customizationcontext=prevccas to why the event is not firing, try Hans’ suggestions. also when you’re debugging, public variables tend to reset easily. if you have an end statement or an unhandled error somewhere (might be another template or addin), public vars will be reset and you’ll lose the event as well.
-
WSpieter
AskWoody Loungerhi Henrik,
“I have a customized toolbar that is attached to the activedocument’s attachedtemplate and resets itself when documents based on the template are active.”
could you explain this further?
as i am interpreting it now, it seems to me you don’t need to create a beforesave event at all, but your code that resets “itself”?? needs a customizationcontext to prevent other templates from getting dirty. this will prevent word from asking to save the template.
‘pseudocode:
prevcc=customizationcontext
customizationcontext=activedocument.attachedtemplate
‘your reset code
activedocument.attachedtemplate.saved=true
customizationcontext=prevccas to why the event is not firing, try Hans’ suggestions. also when you’re debugging, public variables tend to reset easily. if you have an end statement or an unhandled error somewhere (might be another template or addin), public vars will be reset and you’ll lose the event as well.
-
WSpieter
AskWoody LoungerOctober 7, 2003 at 9:04 am in reply to: Active Document not Active? (Windows 2000/Word 2000) #725348we’ll need to see the full code this time i think if we want to solve the problem.
-
WSpieter
AskWoody LoungerOctober 7, 2003 at 9:04 am in reply to: Active Document not Active? (Windows 2000/Word 2000) #725349we’ll need to see the full code this time i think if we want to solve the problem.
-
WSpieter
AskWoody LoungerOctober 2, 2003 at 9:59 am in reply to: Active Document not Active? (Windows 2000/Word 2000) #723024hi Kyle,
dim Newdoc as document
set newdoc=documents.add
‘…
‘…
newdoc.activate
application.activate -
WSpieter
AskWoody LoungerOctober 2, 2003 at 9:59 am in reply to: Active Document not Active? (Windows 2000/Word 2000) #723025hi Kyle,
dim Newdoc as document
set newdoc=documents.add
‘…
‘…
newdoc.activate
application.activate -
WSpieter
AskWoody Loungerhi Ronny.
i’ve got the impression he’s pretty savvy. if he choses his wordfile password long and complicated enough the students will not gain access in a million years. several million years in fact, even with all their computers combined into one password cracking machine.
-
WSpieter
AskWoody Loungerhi Ronny.
i’ve got the impression he’s pretty savvy. if he choses his wordfile password long and complicated enough the students will not gain access in a million years. several million years in fact, even with all their computers combined into one password cracking machine.
-
WSpieter
AskWoody Loungerhi Howard,
i noticed you also posted this to a few newsgroups but did not yet get an adequate response. i’m afraid there’s not much to suggest.
what you could try is late binding (app as object iso app as euapplication), and leaving out version (.1) in the getobject (and createobject) statements.
also something to check is wether you the getobject is successful when eudora is already running the 1st time the code is executed, or if it produces an error and the createobject is called erronously.this is not the only mail program with ole problems it seems. for instance, lotus notes does not allow early binding, allthough that functionality is provided.
-
WSpieter
AskWoody Loungerhi Howard,
i noticed you also posted this to a few newsgroups but did not yet get an adequate response. i’m afraid there’s not much to suggest.
what you could try is late binding (app as object iso app as euapplication), and leaving out version (.1) in the getobject (and createobject) statements.
also something to check is wether you the getobject is successful when eudora is already running the 1st time the code is executed, or if it produces an error and the createobject is called erronously.this is not the only mail program with ole problems it seems. for instance, lotus notes does not allow early binding, allthough that functionality is provided.
-
WSpieter
AskWoody Loungerfor reference, i retrieved the star post from my personal archives
==============================================
Subject: Docking Floating Windows in VBE Editor [#19683]
Poster: LegareColeman
Posted on: 01/03/02 02:00I just undocked my Project Explorer and Properties windows, and I had the same problem. However, I was finally able to get them redocked where they are supposed to be. I did it by right clicking on the window and then clicking on the Dockable command on the pop up menu. This caused the window to dock to the top of the VBE window, across the complete width of the window. I then grabbed the top right of the title bar, just to the left of the close window X and dragged to to lower left of the VBE window until the drab box changed to a smaller box and released. The window then docked on the left side where I wanted it. I did the same thing with both windows and got them back where they belong.
Legare Coleman
============================================== -
WSpieter
AskWoody Loungerfor reference, i retrieved the star post from my personal archives
==============================================
Subject: Docking Floating Windows in VBE Editor [#19683]
Poster: LegareColeman
Posted on: 01/03/02 02:00I just undocked my Project Explorer and Properties windows, and I had the same problem. However, I was finally able to get them redocked where they are supposed to be. I did it by right clicking on the window and then clicking on the Dockable command on the pop up menu. This caused the window to dock to the top of the VBE window, across the complete width of the window. I then grabbed the top right of the title bar, just to the left of the close window X and dragged to to lower left of the VBE window until the drab box changed to a smaller box and released. The window then docked on the left side where I wanted it. I did the same thing with both windows and got them back where they belong.
Legare Coleman
============================================== -
WSpieter
AskWoody LoungerSeptember 15, 2003 at 9:22 am in reply to: Word hangs changing Printer Properties(2000 SR-1a) #714786hi Ed,
have you checked your parallel port settings in the bios. i remember years ago (must be at least 8 already) that i had issues with an hp printer/windows 98 in combination with port/bios settings. does the bios setting on your computer correspond with /is capable of the same setting as your printer? i faintly remember that the ecp/epp print method was a (buggy) standard jointly developed by ms and hp at the time, and – next to this problem – the printing quality deteriorated markedly when i switched from windows 3.1 to windows 95 and then to 98.
![]() |
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
-
The time has come for AI-generated art
by
Catherine Barrett
2 hours, 26 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
2 hours, 27 minutes ago -
23 and you
by
Max Stul Oppenheimer
2 hours, 29 minutes ago -
April’s deluge of patches
by
Susan Bradley
1 hour, 49 minutes ago -
April’s deluge of patches
by
Susan Bradley
2 hours, 29 minutes ago -
Windows 11 Windows Updater question
by
Tex265
10 hours, 40 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
17 hours, 35 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
22 hours, 6 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
4 hours, 40 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
15 hours, 28 minutes ago -
Align objects on a OneNote page
by
CWBillow
1 day, 3 hours ago -
OneNote Send To button?
by
CWBillow
1 day, 4 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 12 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 8 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
13 hours, 23 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
12 hours, 3 minutes ago -
Google One Storage Questions
by
LHiggins
3 hours, 10 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
3 hours, 17 minutes ago -
Ancient SSD thinks it’s new
by
WSila
17 hours, 59 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
2 hours, 43 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 11 hours ago -
Firefox 137
by
Charlie
14 hours, 23 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 16 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 16 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 16 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 12 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
2 days, 19 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
3 days, 12 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.