Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hello,
I use a Word template with several toolbars. As part of our recent template update, we created a Convert Text to Table and Convert Table to Text option on the Toolbars. These new additions convert the text to the correct format that we use for our proposals. In regular Word a user can select text in a table and only that information will convert to text€”not the whole table€”when the option is selected. In my new template, the whole table changes even if only a portion of text is selected or one row. The macro is paragraph delimited. The person who developed the templates is no longer with us and I am now trying see if our new Convert Text to Table can be modified to work like "regular" Word. I am not a programmer so this is a bit of a "stretch" for me, but I am hoping that the experts will have a solution. Thank you as always for your help. -- Mkate |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Since you don't show any of the existing code, it's impossible to say how it
should be changed. However, the following code snippet does behave exactly like the menu command, converting only the selected part of the table: With Dialogs(wdDialogTableToText) .ConvertTo = wdSeparateByParagraphs .Execute End With In contrast, I suspect the existing code uses something like this: Selection.Tables(1).ConvertToText Separator:=wdSeparateByParagraphs which would convert the entire table. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Mkate wrote: Hello, I use a Word template with several toolbars. As part of our recent template update, we created a Convert Text to Table and Convert Table to Text option on the Toolbars. These new additions convert the text to the correct format that we use for our proposals. In regular Word a user can select text in a table and only that information will convert to text-not the whole table-when the option is selected. In my new template, the whole table changes even if only a portion of text is selected or one row. The macro is paragraph delimited. The person who developed the templates is no longer with us and I am now trying see if our new Convert Text to Table can be modified to work like "regular" Word. I am not a programmer so this is a bit of a "stretch" for me, but I am hoping that the experts will have a solution. Thank you as always for your help. |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Two rows per row? | Tables | |||
Arcane Question @ Text Boxes & "Frames" | Page Layout | |||
Convert Text to Table | Tables | |||
manipulating/cutting/pasting text out of a text box | Microsoft Word Help | |||
Can you convert regular text in a table into form field data easil | Microsoft Word Help |