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 / January 2006

Tip: Looking for answers? Try searching our database.

How to call a module for returning an excel picture to the .ActiveDocument.Bookmarks("bookmarkname")

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bon - 13 Jan 2006 15:37 GMT
Hello all

I created a module which copy an area of excel cells (e.g. A45:D51).
How can I call this module and use
.ActiveDocument.Bookmarks("bookmarkname") to paste the copied area of
cells into the Active Word document under the bookmark?

If a module is returned a text string, I can use
.ActiveDocument.Bookmarks("bookmarkname").Range.Text =
ModuleThatReturnText

How about the module which has already copied a range in Excel
worksheet and want to paste it under the bookmark?

Cheers
Bon
Anne Troy - 14 Jan 2006 17:48 GMT
See if this sample code helps, Bon. Likely, it's not exactly what you need,
but you might be able to steal some code from it.
http://vbaexpress.com/kb/getarticle.php?kb_id=381

************
Hope it helps!
Anne Troy
www.OfficeArticles.com

> Hello all
>
[quoted text clipped - 12 lines]
> Cheers
> Bon

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.