Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-24-2011, 06:13 AM
hklein hklein is offline adding table to a particular place Windows XP adding table to a particular place Office 2007
Novice
adding table to a particular place
 
Join Date: Jul 2011
Posts: 23
hklein is on a distinguished road
Default adding table to a particular place

Hi everyone,



I would like to get some help on adding a table to a given place into a word document from an excel macro.
I used thwe word macro-recorder to get the syntax, but it doesn't work from excel, and it doesn't answer my question, how to insert the table to the place where I want it to be.

Code:
I wanted to do it something like this:
Dim objword As Object
Dim docword As Object
Set docword = objword.documents.Add(Path & "\test.dotx.")
docword.tables.add Range:=docword.Bookmarks("mybookmark"), numrows:=2, numcolumns:=2
all help would be appreciated
Thanks
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding table to a particular place adding rows to word table hklein Word VBA 4 07-18-2011 12:21 AM
I delete an image but it comes back again and again to the same place!!!!!!!! Jamal NUMAN Drawing and Graphics 2 06-28-2011 04:47 AM
Adding table lines to protected form razberri Word Tables 2 10-27-2010 05:58 PM
adding table to a particular place Adding a Total row to pivot Table hannu Excel 1 09-18-2010 01:15 AM
tif will not place in word rachelp61 Word 2 10-13-2009 07:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:13 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft