Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

Turning off outline in a row

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zSplash - 22 Sep 2006 21:13 GMT
My code adds a row to a table.  The table is outlined.  I want my newly
added row to not be outlined, yet the rest of the table to remain outlined.
How can I "turn off" the outlining for that one single row?  (I've looked at
ListString, ListFormat, OutlineLevel, and anything else I could think of, to
no avail.  It can't be as hard as I'm making it!!)

TIA
Helmut Weber - 22 Sep 2006 21:27 GMT
Hi zSplash,

like this:

Sub Test456()
Dim oTbl As Table
Set oTbl = ActiveDocument.Tables(1)
With oTbl
  .Rows.Add
  .Rows.Last.Range.ListFormat.RemoveNumbers
End With
End Sub

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

zSplash - 22 Sep 2006 22:25 GMT
Helmut!!  You  made my day!  (It seems so simple when one knows what to do!)

Thanks so much, and have a wonderful weekend!!

st.

> Hi zSplash,
>
[quoted text clipped - 8 lines]
> End With
> End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.