473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Merge word fields with asp net

guy
Is it possible to retrieve the name of the fields in a
word document, and replace them with values, coming from
a database ?
Nov 20 '05 #1
13 4889
Hi Guy,

Yes.

Regards,
Fergus
Nov 20 '05 #2
Cor
Hi guy
I don't know how, but I think it is not impossible.
Maybe you can ask it in a microsoft office newsgroup.
I am thinking about a combination from MS Word and MS Access.
When they have told you how to do it in VBA.
You can send that code to this newsgroup.
Then maybe there is someone (mostly there is) to help you to put it in the
VB.net language.
This is not a Word as well as not a Database newsgroup.
I hope this brings you in the right direction.
Cor
Nov 20 '05 #3
Hi Guy,

Lol, I guess you want to know <how> as well, eh? ;-)

Would you know how to write what you want in VBA? What do you know about
Word Automation? VB.NET is quite comfortable with Automation of Office
products but it can help if you have it written in VBA first.

This newsgroup is not heavy on Word, though there is an expert who drops
in from time to time. You might like to try one or two of the Word and Office
development newsgroups:
news://msnews.microsoft.com/microsof...per.automation
news://msnews.microsoft.com/microsof...er.office.sdks
news://msnews.microsoft.com/microsof...fficedev.other
news://msnews.microsoft.com/microsoft.public.word.vba
news://msnews.microsoft.com/microsof...rd.vba.general
news://msnews.microsoft.com/microsof....vba.beginners
news://msnews.microsoft.com/microsof....vba.userforms

Regards,
Fergus
Nov 20 '05 #4
Cor
Hi Fergus,
This was my first answer too, but I skipped it.
I saw you did the same afterwards.
:-)))
Cor
Nov 20 '05 #5
Hi Guy,
Is it possible to retrieve the name of the fields in a
word document, and replace them with values, coming from
a database ?

Did you ever get any help on this? If not, do you have a
particular kind of field in mind, or are you setting this
up from scratch?

-- Cindy

Nov 20 '05 #6
Hey, and here's the expert.

Hi Cindy. ;-)

Regards,
Fergus
Nov 20 '05 #7
> Hi Cindy. ;-)

Hey, Fergus :-)!
Nov 20 '05 #8
Hi Fergus

Say, I'm going to be gone for about ten days. There are a
ocuple of message threads where there person hasn't
followed up, yet. Just in case they do, and you happen to
notice, can you apologize on my behalf? Thanks :-)!

-- Cindy

Nov 20 '05 #9
Hi Cindy,

No problem.

I've only seen this one and
how to print multiple word documents via vb.net
But I see you in
Datafile for mailmerge in word
VB.NET & WORD 2000
which I'll add to my monitored list.

Have a good trip - hope it's got some fun built in. ;-)

Best regards,
Fergus
Nov 20 '05 #10
Hi Fergus,
Have a good trip - hope it's got some fun built in. ;-)

Thanks! It was, and it did <g> got back in one piece, too.

-- Cindy

Nov 20 '05 #11
Hi Cindy,

Nice to see you again. ;-)

White-water rafting? Typhoon chasing? (That's one I'd love to do)

Regards,
Fergus

Nov 20 '05 #12
* "Fergus Cooney" <fi*****@post.com> scripsit:
Nice to see you again. ;-)

White-water rafting? Typhoon chasing? (That's one I'd love to do)


Please notice that _private mail_ exists. If you don't have a valid
email address yet, have a look on the web. You can get a free account
and email your friends as much and often as you want. If you want
synchrounous communication, use a chat.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #13
Lighten up Herfried K. Wagner, if they want to publish personal
conversations, I am sure that they are welcome to do it. Let's consider it
SPAM and just not bother to waste our time reading it....

Cheers

Jody

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bn*************@ID-208219.news.uni-berlin.de...
* "Fergus Cooney" <fi*****@post.com> scripsit:
Nice to see you again. ;-)

White-water rafting? Typhoon chasing? (That's one I'd love to do)


Please notice that _private mail_ exists. If you don't have a valid
email address yet, have a look on the web. You can get a free account
and email your friends as much and often as you want. If you want
synchrounous communication, use a chat.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #14

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

Similar topics

3
by: Traci | last post by:
I need to do a mail merge letter from my database. The letter will be addressed to small companies and in the body of the letter I need to list employees of the company. There will be from 1 to 15...
5
by: Tom Keane | last post by:
Okay, so the deal is, I am doing a mail merge document in order to print invoices. The field I get the amount of money is "invAmount". What I would like to do is be able to manipulate this number...
2
by: Aaron | last post by:
hello, i am perfoming a mail merge with the following code. Public Function MergeIt() Dim objWord As Object Set objWord = GetObject("C:\MyMerge.doc", "Word.Document") ' Make Word visible....
8
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...
0
by: beerman | last post by:
I have developed an app (in Access 2002) that dynamically creates a table, and the fields in that table, for propagation based on the max number of occurences in a reference table. Basically, it...
4
by: Dadio | last post by:
Hello On my Access database form I have a command button which opens a Word mail merge document in which I have created a number of fields (Title, FirstName, LastName, Address1 etc.) I would...
8
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
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...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
2
by: JeffN825 | last post by:
Hello, Thank you in advance for any assistance. I am trying to set up a mail merge from VB6/VBA code with Word 2000 using an ODBC data source (SQL 2000). I have successfully gotten the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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,...

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.