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 / October 2005

Tip: Looking for answers? Try searching our database.

Copy text from word document to cell of a table thru a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
contactabbas@gmail.com - 02 Oct 2005 08:19 GMT
Hi All,

In a word document, I have some text and then a table below it. I would
like to select part of a text and paste it in a particular cell, then
another part in another cell.... I tried recording a macro, but I am
unable to toggle between table and "non-table" area in a doc.

Any inputs would be highly appreciated.

Background : I have my employee's monthly data in an excel sheet. I
need to generate a word (.doc) file as the payslip of each employee and
mail him / her. The contents of the payslip doc file is a table, part
of whose content is static (eg. company's logo) and other is dynamic
(eg. employee info).

Thanks, Abbas
Helmut Weber - 03 Oct 2005 10:22 GMT
Hi Abbas,

>In a word document, I have some text and then a table below it. I would
>like to select part of a text and paste it in a particular cell, then
>another part in another cell.... I tried recording a macro, but I am
>unable to toggle between table and "non-table" area in a doc.

>Any inputs would be highly appreciated.

No problem, in principle,

but what part of the text outside of the table
should go to what cell of the table?
Assumed, that there is only one table.

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"


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.