![]() |
|
|
Thread Tools | Display Modes |
#3
|
||||
|
||||
![]()
Hi tinfanide,
Try: Code:
Sub Demo() Dim oCel As Cell With Selection If .Information(wdWithInTable) = False Then Exit Sub For Each oCel In .Tables(1).Range.Cells oCel.Range.Text = oCel.Range.Characters.First Next End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tinfanide | Word VBA | 1 | 02-06-2012 05:57 AM |
How can I delete the content of a cell in column if the cell value is more than 1000? | Learner7 | Excel | 2 | 06-27-2011 05:44 AM |
Can't delete range - error 5904 | expatriate | Word VBA | 1 | 06-03-2011 12:12 AM |
![]() |
dea | Word | 1 | 01-04-2011 02:24 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |