-
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
-
Registry Patches for Windows 10
by
Drcard:))
1 hour, 21 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 hour, 34 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
5 hours, 10 minutes ago -
Align objects on a OneNote page
by
CWBillow
6 hours, 49 minutes ago -
OneNote Send To button?
by
CWBillow
7 hours, 33 minutes ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
16 hours, 6 minutes ago -
No Newsletters since 27 January
by
rog7
12 hours, 3 minutes ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
20 hours, 36 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
4 hours, 38 minutes ago -
Google One Storage Questions
by
LHiggins
1 hour, 21 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
2 hours, 25 minutes ago -
Ancient SSD thinks it’s new
by
WSila
15 hours, 11 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
1 day ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
14 hours, 52 minutes ago -
Firefox 137
by
Charlie
11 hours, 12 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
1 day, 19 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
1 day, 19 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
1 day, 19 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
15 hours, 21 minutes ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
1 day, 23 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
2 days, 5 hours ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
2 days, 15 hours ago -
Office apps read-only for family members
by
b
2 days, 18 hours ago -
Defunct domain for Microsoft account
by
CWBillow
2 days, 14 hours ago -
24H2??
by
CWBillow
15 hours, 15 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
11 hours, 8 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
15 hours, 5 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
1 day, 14 hours ago -
two pages side by side land scape
by
marc
4 days, 15 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.