473,503 Members | 5,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mail merge from access to word using combo boxes for parameters

65 New Member
Currently I have some letters set up in Word which merge off of an Access database. A window pops up and asks for the parameters of the query to be entered in a text box. Is there any way that I can use a combo box instead? If I merge directly in Access using VBA will I be able to use combo boxes? I have read that using VBA in this manner may cause some security problems.

Thanks again for your time
Nov 30 '06 #1
4 2583
freeskier
65 New Member
No Microsoft Office Specialists out there?
Dec 4 '06 #2
NeoPa
32,557 Recognized Expert Moderator MVP
It should be possible to do as you suggest, but I'm not clear from the question if you're doing it from Word or Access.
I know very little about Word automation of any sort.
How many experts that regularly visit the Access forum are also familiar with Word I don't know.
I do know that answers depend on the clarity of the question as well as finding an expert qualified to answer.
Dec 4 '06 #3
freeskier
65 New Member
I appologize for any ambiguity. The letter is typed in word and uses a DDE connection to the Access query. The parameters in the query (date range) are entered in a text box that pops up when the letter is run from word.

I would like to make the text box a drop-down combo box. I do not believe this is possible if the letter is written in Word.

I have been exploring the option of performing mail merges directly in Access using VBA and it appears that it may cause security problems requiring the registry to be edited on the computer running VBA.

again, my appologies if this is not the correct forum for this kind of question

thanks for your time
Dec 4 '06 #4
NeoPa
32,557 Recognized Expert Moderator MVP
FreeSkier,

I'm sure it's the best forum we have for this sort of question.
The problem requires more than one skill-set though, which makes it less likely to find anyone who can help.
I can't help much as Word is my weakest area in Office automation.
Have you, however, considered coding it in both Access AND Word.
Within either, you should be able to open the other Application (As long as the relevant Reference is enabled) and code exactly as if within the other application. I did this a long while back between Access & Excel and it was great. Worked like a charm. However, I've not really had a requirement to use it since, and never in Word.
With VBA control over both applications, could you do what you need?

PS. Ignore my tone - sometimes I can seem snappy (everyone else's mistake - never mine ;) ).
I hope to evangelise the world into posting more clearly explained (easily understood) questions as that way everybody benefits.
Good luck with your question btw.
Dec 4 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
9493
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
9
4310
by: Neil Ginsberg | last post by:
I have a strange situation using Access to automate a Word mail merge. Using Access 2000 and Word 2000, the code opens Word, opens the document in Word, sets a table in the calling Access...
8
5146
by: Darryl Kerkeslager | last post by:
I hope that although this is 25% Access and 75% Word, that someone will know ... The whole problem here arises because 1) Microsoft acknowledges an 'issue' wherein TextInput type FormFields are...
3
5566
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
4
7462
by: pmhaupt2 | last post by:
I developed an Access 2003 program that will allow the user to produce a group of Word letters that merge with data records from an Access database. I created a mail merge Word document and...
4
5435
by: lesperancer | last post by:
I have 3 tables (office97) tblQuote quoteNbr tblDetails ( quote : 1 <-> M: quoteDetails) quoteNbr detailLine product value
5
3715
by: johnvon | last post by:
I have a mail merge that runs flawlessly in Access 2000. In 2003 I keep getting dialog boxes that I can't figure out how to supress. Several of them are telling me that Admin (me!) has the database...
0
1793
by: Darragh | last post by:
I'm encountering some serious problems trying to set Access 2000 querys (parameters and views) as data sources for my mail merge documents (Word 2003). After spending hours scouring the web for...
1
6527
by: Esther Lane | last post by:
Hello! First off, many many thanks to Albert who wrote the Mail Merge code for MS Access I am using. It has been working beautifully for a few years. However, my client just (without notice!)...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7258
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7313
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.