I have been trying to insert a table into a word document. I have created a macro, but can't quiet figure out how to do it. Here is the macro:
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed
Here is where I am at:
chword:Selection:Tables:ADD.
I am assuming I need to do something like:
chword:Selection:Tables:ADD(Slection:range,1,1,wdWord9TableBehavior,wdAutoFitFixed).
Any ideas?
Thanks
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed
Here is where I am at:
chword:Selection:Tables:ADD.
I am assuming I need to do something like:
chword:Selection:Tables:ADD(Slection:range,1,1,wdWord9TableBehavior,wdAutoFitFixed).
Any ideas?
Thanks