Reply
 
Thread Tools Display Modes
  #1   Report Post  
Larry Lester
 
Posts: n/a
Default End of table cell character.

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   Report Post  
Jezebel
 
Posts: n/a
Default

^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   Report Post  
Larry Lester
 
Posts: n/a
Default

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   Report Post  
Tony Jollans
 
Posts: n/a
Default

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   Report Post  
Larry Lester
 
Posts: n/a
Default

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   Report Post  
Tony Jollans
 
Posts: n/a
Default

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   Report Post  
Larry Lester
 
Posts: n/a
Default

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   Report Post  
Tony Jollans
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to wrap text from cell to cell in a table. Jon Coulson Tables 2 August 8th 05 09:12 PM
Placing 1st table into a cell within 2nd table kathryngriffin1962 Tables 2 June 2nd 05 04:09 AM
Table headers/footers and layout Keith Page Layout 1 April 8th 05 07:37 PM
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 07:18 PM
word table cell resize or word table cell size change or word table change cell size [email protected] Tables 0 January 13th 05 09:55 PM


All times are GMT +1. The time now is 11:15 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"