Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Control a Table in Word From Excel
Hi, I use code that sends a range of excel tables to bookmarks in word. It
all works well (I have modified the following code if curious http://www.vbaexpress.com/kb/getarticle.php?kb_id=133 ) Once a table or picture is sent to word, I'd like to be able to format it Eg IncrementRotation -90 or wdAutoFitContent I get a run time error on the 3rd line of the following code: appWrd.Selection.PasteSpecial DataType:=wdPasteRTF, Placement:=wdInLine appWrd.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter appword.Selection.Tables(1).AutoFitBehavior (wdAutoFitContent) I've tried a few ways of trying to pick up the table i've just created in word, but struggling. Any help would be appreciated. Regards Simon |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Control Excel from Word | Excel Programming | |||
Control Word through Excel | Excel Programming | |||
Word Control in Excel | Excel Programming | |||
how to control word from excel | Excel Programming | |||
Print Control in Word/Excel | Excel Programming |