-
WSMarie-Therese
AskWoody LoungerPhil,
Does Word only allow you to assign a hyperlink to a toolbar button? or, can you assign it to a command button on a form?
Thanks.
-
WSMarie-Therese
AskWoody LoungerI have put the code into a custom form, similar to what Hans suggested. But my problem is how to distribute this form to other people. Do you know of another way (Apart from creating a COM Add-in) ,to distribute a custom form in Outlook without overwriting the vbaproject.otm file?
Also, if I do have to create a COM Add-in, how do I link it to the SEND event in Outlook?
I am also wondering how to determine what type of item caused the send event. Is there a way to determine if it was a mailitem, or appointmentitem etc?
Thanks.
-
WSMarie-Therese
AskWoody Lounger(Edited by HansV on 22-Jul-03 01:51. Added reference to Outlook thread.)
Hello. I am creating my first COM Add-in for Microsoft Outlook 2002. I want my module to be triggered whenever the SEND button is pressed in Outlook. How do I cause this to occur?
Note by HansV: This question is a sequel to post 276113 in the Outlook forum. Outlook has only one file in which VBA can be stored, so something else is needed to distribute code.
-
WSMarie-Therese
AskWoody LoungerHans,
Many thanks – that worked. Now I need to know how to save and distribute the code.
The template with the code is saved as
C:DOCUMENTS and SETTINGSAPPLICATION DATAMICROSOFTOUTLOOKvbaproject.otm.Is it possible to save it to another location? with another name? In Word, there is a startup folder, is there something like this in Outlook?
Thanks.
-
WSMarie-Therese
AskWoody LoungerI am using the controls in Word and in Access. It was a free download from the website and included controls such as the Richtext box, treeview, listview etc..
-
WSMarie-Therese
AskWoody LoungerHans,
I finally found the problem in the first statement. It was in the name of the field “Work”. For some reason, this isn’t acceptable. When I renamed it to “txtWork”, then all was okay.
It took me 2 days to figure it out! But I appreciate your input.
Marie-Therese
-
WSMarie-Therese
AskWoody LoungerHans,
None of the text fields contain double quotes. However, now I am getting a syntax error (missing operator) on the first record! The SQL statement is:INSERT INTO HEADER (IFACE, RUNDATE, COMPANY, COMPANYNO) VALUES (“”Field 1″”, “”12-MAY-2003″”, “”Value 3″”, “”92661124436″”)
-
WSMarie-Therese
AskWoody LoungerHans,
I am importing a large text file into a database to make a simple report. I am treating everything as text.
The reason I didn’t want to use single quotes is because some of the text fields have single quotes in them. Is there a way around this?Thanks
-
WSMarie-Therese
AskWoody LoungerThanks Hans. At least now I know I am not going crazy, and that my computer isn’t broken.
-
WSMarie-Therese
AskWoody LoungerYes I am using the Quick Launch toolbar to open Excel many times. You are quite right, Excel is show multiple times in the Processes tab.
However, it doesn’t work like this for Word. I can click Word on the Quick Launch toolbar many times, and it only shows it once in the Taskbar, and once in the Processes tab. It would be great if Excel could work the same way.
-
WSMarie-Therese
AskWoody LoungerThank you! That worked!
-
WSMarie-Therese
AskWoody LoungerThank you!
-
WSMarie-Therese
AskWoody LoungerThanks Hieronymous, that has been most helpful.
-
WSMarie-Therese
AskWoody LoungerGary,
Thanks for this help. I removed all the references to the global templates and saved the template. Then I added the references back to the global templates, and now the error seems to have disappeared.
Marie-Therese
-
WSMarie-Therese
AskWoody LoungerMany thanks!
![]() |
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
-
Windows 11 ad from Campaign Manager in Windows 10 (Awaiting moderation)
by
Jim McKenna
4 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
8 hours, 43 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
10 hours, 35 minutes ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
13 hours, 43 minutes ago -
Mystical Desktop
by
CWBillow
13 hours, 57 minutes ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
8 hours, 43 minutes ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
4 hours, 8 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
1 day, 5 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
1 day, 7 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
1 day, 6 hours ago -
What is wrong with simple approach?
by
WSSpoke36
22 hours, 37 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
1 day, 17 hours ago -
Location, location, location
by
Susan Bradley
7 hours, 56 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
1 day, 18 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
1 day, 9 hours ago -
June 2025 Office non-Security Updates
by
PKCano
2 days, 5 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
8 hours, 16 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
2 days, 5 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
2 days, 16 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
1 day, 18 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
3 days ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
3 days ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
2 days, 14 hours ago -
Firefox 139
by
Charlie
2 days, 7 hours ago -
Who knows what?
by
Will Fastie
1 day, 9 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
3 days, 1 hour ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
19 hours, 2 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day, 21 hours ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
4 days, 7 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
1 day, 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.