![]() |
#4
|
||||
|
||||
![]()
The following macro will delete whatever column(s) the insertion point is in or cells from which are selected (ie it's not restricted to deleting one column at a time.
Code:
Sub Demo() With Selection If .Information(wdWithInTable) Then .Columns.Delete End If End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to remove blank box on top-left corner of table in PPT 2010? | dylansmith | PowerPoint | 3 | 10-18-2012 03:59 AM |
![]() |
netchie | Word VBA | 6 | 08-28-2012 03:37 PM |
![]() |
ilkks | Word VBA | 3 | 05-22-2011 11:03 PM |
![]() |
Learner7 | Excel | 1 | 04-19-2011 02:45 AM |
![]() |
simpleonline1234 | Word VBA | 1 | 02-25-2011 02:28 AM |