Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

save and open documents

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A1pro - 15 Nov 2006 15:35 GMT
I'm trying to write a macro that gets data from a spreadsheet and puts it in
a word document say mydoc.doc.
(I've got this bit sorted ok)

Once it has gathered all data from excel, it should save the document with a
different file name,e.g. mysaveddoc.doc and email it.
(i can do this bit too) using activedocument.saveas filename:=mysaveddoc.doc

it should then close the saved document, i.e. mysaveddoc.doc and open the
original document,i.e. mydoc.doc and repeat the process. (it will get the
data from a different row on the spreadsheet but that is neither here nor
there)

Any ideas?

TIA
Tony Jollans - 15 Nov 2006 17:24 GMT
> Any ideas?

MailMerge?

Signature

Enjoy,
Tony

> I'm trying to write a macro that gets data from a spreadsheet and puts it
> in
[quoted text clipped - 15 lines]
>
> TIA

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.