Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
hexagonhouse hexagonhouse is offline
external usenet poster
 
Posts: 1
Default picture-column 1 names- column 2. names under picture?

I have 3000 pictures (Fallen in Iraq) in column 1 with the names in column 2.
Need names under pictures for peace memoral. Other than 3000 cut and paste?
--
none
  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default picture-column 1 names- column 2. names under picture?

Use a macro containing the following code:

Dim i As Long
Dim dname As Range
Dim dtable As Table
Set dtable = ActiveDocument.Tables(1)
For i = dtable.Rows.Count To 1 Step -1
Set dname = dtable.Cell(i, 2).Range
dname.End = dname.End - 1
dtable.Rows(i).Select
Selection.InsertRowsBelow 1
dtable.Cell(i + 1, 1).Range.Text = dname.Text
Next i
dtable.Columns(2).Delete

Make sure that you have saved a copy of the document before you run the code
just in case.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"hexagonhouse" wrote in message
...
I have 3000 pictures (Fallen in Iraq) in column 1 with the names in column
2.
Need names under pictures for peace memoral. Other than 3000 cut and
paste?
--
none



  #3   Report Post  
Posted to microsoft.public.word.tables
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default picture-column 1 names- column 2. names under picture?

Table | Convert | Table to Text, separating with commas. Then Table |
Convert | Text to Table, creating a one-column table by separating at
paragraph marks. Then use Find and Replace to replace comma+space with a
line break (^l) or paragraph break (^p) as desired.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"hexagonhouse" wrote in message
...
I have 3000 pictures (Fallen in Iraq) in column 1 with the names in column

2.
Need names under pictures for peace memoral. Other than 3000 cut and

paste?
--
none


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
Bullet / Number are separated from its text on column break Anna Kezer Page Layout 7 July 25th 06 12:46 PM
How do I cronologically sort a column with names & years. VernaMar Tables 2 January 26th 06 08:18 PM
saving inserted picture file as a .jpeg CIW Microsoft Word Help 3 December 22nd 05 03:09 AM
How do I get consecutive names in a multil column mail merge doc? L Gallo Microsoft Word Help 1 October 17th 05 12:30 AM
Dragging table column resets Sedonakids Tables 0 January 12th 05 01:11 AM


All times are GMT +1. The time now is 09:43 PM.

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"