Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Can someone provide me with the searchable string (probably ^+ charcter) for
the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#2
![]() |
|||
|
|||
![]()
^008
"Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#3
![]() |
|||
|
|||
![]()
Sorry -- it doesn't work!
-- Larry Lester "Jezebel" wrote: ^008 "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#4
![]() |
|||
|
|||
![]()
I don't think you can find end of cell marks - they are special characters,
length 2 = chr(13) Chr(7) To split each row of a table into a separate table, try .. For r = ActiveDocument.Tables(1).Rows.Count To 2 Step -1 ActiveDocument.Tables(1).Split r Next substituting a reference to your own table, of course -- Enjoy, Tony "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#5
![]() |
|||
|
|||
![]()
Hi Tony,
It works great but only for the first table in the document. How can I adjust the code such that it splits the current table where the cursor is located. Thanks, -- Larry Lester "Tony Jollans" wrote: I don't think you can find end of cell marks - they are special characters, length 2 = chr(13) Chr(7) To split each row of a table into a separate table, try .. For r = ActiveDocument.Tables(1).Rows.Count To 2 Step -1 ActiveDocument.Tables(1).Split r Next substituting a reference to your own table, of course -- Enjoy, Tony "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#6
![]() |
|||
|
|||
![]()
Just change "ActiveDocument" to "Selection"
-- Enjoy, Tony "Larry Lester" wrote in message ... Hi Tony, It works great but only for the first table in the document. How can I adjust the code such that it splits the current table where the cursor is located. Thanks, -- Larry Lester "Tony Jollans" wrote: I don't think you can find end of cell marks - they are special characters, length 2 = chr(13) Chr(7) To split each row of a table into a separate table, try .. For r = ActiveDocument.Tables(1).Rows.Count To 2 Step -1 ActiveDocument.Tables(1).Split r Next substituting a reference to your own table, of course -- Enjoy, Tony "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#7
![]() |
|||
|
|||
![]()
Thanks. It works just fine. That solves all my problems for today.
-- Larry Lester "Tony Jollans" wrote: Just change "ActiveDocument" to "Selection" -- Enjoy, Tony "Larry Lester" wrote in message ... Hi Tony, It works great but only for the first table in the document. How can I adjust the code such that it splits the current table where the cursor is located. Thanks, -- Larry Lester "Tony Jollans" wrote: I don't think you can find end of cell marks - they are special characters, length 2 = chr(13) Chr(7) To split each row of a table into a separate table, try .. For r = ActiveDocument.Tables(1).Rows.Count To 2 Step -1 ActiveDocument.Tables(1).Split r Next substituting a reference to your own table, of course -- Enjoy, Tony "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
#8
![]() |
|||
|
|||
![]()
Don't know where in the world you are but there must be time for at least
one more problem :-) Glad I could help. -- Enjoy, Tony "Larry Lester" wrote in message news ![]() Thanks. It works just fine. That solves all my problems for today. -- Larry Lester "Tony Jollans" wrote: Just change "ActiveDocument" to "Selection" -- Enjoy, Tony "Larry Lester" wrote in message ... Hi Tony, It works great but only for the first table in the document. How can I adjust the code such that it splits the current table where the cursor is located. Thanks, -- Larry Lester "Tony Jollans" wrote: I don't think you can find end of cell marks - they are special characters, length 2 = chr(13) Chr(7) To split each row of a table into a separate table, try .. For r = ActiveDocument.Tables(1).Rows.Count To 2 Step -1 ActiveDocument.Tables(1).Split r Next substituting a reference to your own table, of course -- Enjoy, Tony "Larry Lester" wrote in message ... Can someone provide me with the searchable string (probably ^+ charcter) for the end of cell character in a Word table. I want to write a short macro that will split each row in a table to a separate table. Can it be done? Thanks, -- Larry Lester |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to wrap text from cell to cell in a table. | Tables | |||
Placing 1st table into a cell within 2nd table | Tables | |||
Table headers/footers and layout | Page Layout | |||
Table AutoFormats vs. Table Styles confusion | Tables | |||
word table cell resize or word table cell size change or word table change cell size | Tables |