Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
If it is the only table in the document, use
ActiveDocument.Tables(1).ConvertToText or if there is more than one and this is the last table, use: With ActiveDocument .Tables(.Tables.Count).ConvertToText End With -- Hope this helps, Doug Robbins - Word MVP Please reply only to the newsgroups unless you wish to obtain my services on a paid professional basis. "mnt" wrote in message ... I have a macro I'm starting to have trouble with. I copy a one-column MS Access query result. Then in Word, it pastes it in to a doc as RTF, goes to the end of the doc, moves up one row and converts the table to text. The macro is erroring out because the "object doesn't refer to a table." If I go into the doc and see where the cursor is, it's at the bottom of the doc and I cannot move it (via arrow keys) up one line to get the cursor into the table - thus the error, I think. Is there something I can do differently in the macro so I'm always located in the table and the macro can run? |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro for converting Citations to Static text? | Microsoft Word Help | |||
Formatting after converting tables to text | Tables | |||
converting text to tables Word 2003 | Tables | |||
Converting Multiple Tables to Text | Tables | |||
Macro to Convert All Embedded Excel Tables to Text | Tables |