-
WSzbrett
AskWoody LoungerI was afraid you were going to say that… I’m a complete novice when it comes to VBA, but I’ll search around and see if I can find some suitable code to build on. Thanks.
-
WSzbrett
AskWoody LoungerYes, and nothing seems to work. Besides, I need to keep it easy for the people who will be using the form. Digging into the advanced find field isn’t going to fly.
BTW, I’m trying to do this in a public folder (so everyone can share the same contact list).
-
WSzbrett
AskWoody LoungerI’ll give it a shot. Thanks!
-
WSzbrett
AskWoody LoungerJuly 27, 2005 at 7:29 pm in reply to: Select different word docs for merge via combo box (2003 SP1) #962987That did the trick. I need to create the new approval doc, and roll everything into production. My next project is to replace the error messages that pops up when they try to print an approval letter for an account that isn’t approved with something that is a bit more user friendly – right now they get the error message: Word could not merge the main document with the data source because the data records were empty or no data records matched your query options” but that can wait for another day.
Thanks for the help Hans, you’re a hero.
-
WSzbrett
AskWoody LoungerJuly 27, 2005 at 7:08 pm in reply to: Select different word docs for merge via combo box (2003 SP1) #962979Oh so close…
When I hit the command button to initiate the merge, I get a pop up box stating “enter parameter value” – Document Name
If I enter the DocumentID in the box and hit OK, it picks the correct approval document, and I never get the pop up box again when I try to print subsequent approval documents until I stop and restart Access
If I don’t enter the DocumentID in the box and hit OK, it still picks the correct approval document, and I never get the pop up box again when I try to print subsequent approval documents until I stop and restart Access
If I hit “Cancel” I get the message: Run Time Error ‘3075’ Syntax Error (missing operator) in query expression ‘DocumentID = ‘, and debug points me to “strPathtoYourDocument = “C:Approvals” & DLookup(“DocumentName”, “tblDocuments”, “DocumentID = ” & Me.[Vendor Combo Box].Column(1))” in the code
-
WSzbrett
AskWoody LoungerJuly 27, 2005 at 5:44 pm in reply to: Select different word docs for merge via combo box (2003 SP1) #962951I would not of thought of going that route. Makes perfect sense. I’ll give it a whirl and let you know how things go.
Thanks again!
-
WSzbrett
AskWoody LoungerJuly 27, 2005 at 3:32 pm in reply to: Select different word docs for merge via combo box (2003 SP1) #962872Vendor Combo Box info:
Column Count – 1
Row Source – VendorsAnd if I understand where you are going with this correctly, the relevant field in the vendor table is:
Field Name – Vendor Name, Data Type – Text
Or do you need all the field names in the vendor table? (there are quite a few).
I really appreciate the help. Thanks so much!
-
WSzbrett
AskWoody LoungerThanks for the directions. I’m going to have to back burner this for the time being, but once I free up some time, I’ll give it a go.
-
WSzbrett
AskWoody LoungerThanks for the directions. I’m going to have to back burner this for the time being, but once I free up some time, I’ll give it a go.
-
WSzbrett
AskWoody LoungerIt was meant rhetorically, but now you have my curiosity going…
How would I use this if I merely wanted to pull the values out of an existing query and merge them into a word template?
-
WSzbrett
AskWoody LoungerIt was meant rhetorically, but now you have my curiosity going…
How would I use this if I merely wanted to pull the values out of an existing query and merge them into a word template?
-
WSzbrett
AskWoody LoungerWill do. Thanks for the links.
-
WSzbrett
AskWoody LoungerWill do. Thanks for the links.
-
WSzbrett
AskWoody LoungerThis looks great but it is bit beyond my current capabilities, so naturally I have some questions like:
What does this line do? mypath = CurrentProject.Path & “templates”
This would be the name of my template? Strletter = “newChangeOfAddress.dot”I could go on, but I really need to develop a better understanding of VB before I could discuss this intelligently. I do appreciate you sharing it, since it gives me some ideas.
-
WSzbrett
AskWoody LoungerThis looks great but it is bit beyond my current capabilities, so naturally I have some questions like:
What does this line do? mypath = CurrentProject.Path & “templates”
This would be the name of my template? Strletter = “newChangeOfAddress.dot”I could go on, but I really need to develop a better understanding of VB before I could discuss this intelligently. I do appreciate you sharing it, since it gives me some ideas.
![]() |
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
-
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
22 minutes ago -
WinRE KB5057589 fake out
by
Susan Bradley
6 hours, 26 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
6 hours, 34 minutes ago -
Firefox 137
by
Charlie
9 hours, 17 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
12 hours, 46 minutes ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
12 hours, 58 minutes ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
13 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
6 hours, 5 minutes ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
16 hours, 32 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
22 hours, 33 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
1 day, 8 hours ago -
Office apps read-only for family members
by
b
1 day, 11 hours ago -
Defunct domain for Microsoft account
by
CWBillow
1 day, 8 hours ago -
24H2??
by
CWBillow
22 hours, 33 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
16 hours, 47 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
47 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
7 hours, 48 minutes ago -
two pages side by side land scape
by
marc
3 days, 9 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
3 days, 11 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
2 days, 14 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 17 hours ago -
April 2025 updates out
by
Susan Bradley
2 hours, 5 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
2 days, 10 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
2 days ago -
Creating an Index in Word 365
by
CWBillow
3 days, 2 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day, 15 hours ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
4 days, 6 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
4 days, 9 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
4 days, 11 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
4 days, 9 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.