473,699 Members | 2,628 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enter data and create Word documents

I would like to enter data, choose some checkboxes (types of Documents)
and have Access automatically create documents fro the data insterted
into text and store the Word Documents in a table.

Can this be done? Can I do it...an Access Novice? Am I being too
aggressive?

Thanks,

Tim

Nov 13 '05 #1
4 1990
Yes, it can be done. MS Word can be controlled by VBA just like Access
is. If you aren't using VBA yet, you will have some stuff to learn.
In a nutshell, you open a Word instance, open a template and then send
over the data. Then you can use VBA to make Word print, save, etc.

How you do it largely depends on what kind of document you want to
create. You can use a Mail Merge, Export Access Reports to Word, use
Bookmarks on a Word template to insert data, or use Global Variables to
insert data.

Nov 13 '05 #2
I do not know nor have I played with VBA...is it tremendously
difficult?

Cheers,

Tim

Nov 13 '05 #3
No, it's pretty easy IMO, and there's lots of code in the archives of
this newsgroup to get examples.
However, like any new thing, it takes time and effort to learn.

Nov 13 '05 #4
No, it's pretty easy IMO, and there's lots of code in the archives of
this newsgroup to get examples.
However, like any new thing, it takes time and effort to learn.

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1913
by: Shannon Rotz | last post by:
I have a function in a Microsoft Access module (below) which creates a Word XP Mailmerge document, drawing the data from Access XP. I can get the connection to work fine. However, when I create the form letters, the data from certain merge fields is missing. When I view the data in the MailMerge Recipients dialog box, the data is not there either - the columns are there, but the records have blanks where the data in those columns should...
2
1712
by: Access Newbie with a headache via AccessMonster.co | last post by:
I am looking to export certain variables from ms access to ms word, Does anyone have any idea how this is done. So far my function collects data from two separate tables, and can open the word document that I need, but I am unable to figure out how to make it write the collected data to the new word document. Any help would be great. Public Sub ShipmentRequest_Click() Dim inv As Double Dim getINV As String
3
4887
by: mphanke | last post by:
Hi, I'm writting an application based on an SQL Server for Order Management. I have some data I want to export to Excel and Word, maybe some day I will implement a serial letter. The problem is I don't have Office installed on my Computer. Is there something I can use for this task on the MSDN-DVDs? Where can I find a couple tutorials on dealing with things like that on the web???
0
1435
by: Sharon | last post by:
Following up, I've found success at last with Aspose, combining both Aspose.Word to create an xml file, and then and Aspose.Pdf to create the pdf file. This works out to be quite a considerable additional expense, though, with single-licence costs of AU$790 for Aspose.Word and AU$526 for Aspose.Pdf. I've tried to use the Word-generated xml document (thinking that I might be able to do something with microsoft.office.interop.word) as...
6
2621
by: James | last post by:
I am using vb.net and need to keep in memory a large data structure, so I am looking for the best option. And after several test I am pretty confused. So I will be grateful if anyone can help me. My basic need is:
2
1350
by: Jonathan Wood | last post by:
Hi, I'd like to build a .NET Website that has any number of documents that visitors can read. In addition to the documents, I may have one or two downloads associated with each document. I'm trying to figure out the best way of storing these files and documents (database vs. Web pages). I asked this once before and got some comments about using both. And, in fact, I've just been able to confirm that this is what sites like Code...
3
5629
by: Ken Swinton | last post by:
I am developing a program that gathers inspection visit details and save them in string variables. I need to output this information to a Word template. I have attempted to use Bookmarks, so far without success, the code I have used is as follows: 'printcomplaint Dim oWord As Word.Application Dim oDoc As Word.Document Set oWord = CreateObject("Word.Application") oWord.Visible = True oWord.Documents.Add "D:\My...
1
2077
by: icthus123 | last post by:
I'm trying to open a word document from access and enter some data from my access form into the document. I've used this code: Dim objWord As Object Dim objDocument As Word.Document Set objWord = CreateObject("Word.Application") objWord.Visible = True Set objDocument = objWord.Documents.Add
6
2344
by: vincent90152900 | last post by:
always get an error message. "Object reference not set to an instance of an object" Can anyone how to solve this? Here is my code. private void CreateNewWordFile(string sourceFileName,string destinationFileName,string stratBookmarkName,string endBookmarkName) { // Declaring the object variables we will need later object varFileName = fileName; object varFalseValue = false;
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8613
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9172
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8908
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7745
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.