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 / October 2007

Tip: Looking for answers? Try searching our database.

Deleting Current Line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kMan - 25 Oct 2007 06:38 GMT
Hello all,

Thanks in advance for all your assistance.

I have a table and made a bookmark to point to the first row of second
column. In a macro, I use the bookmark to get to the line and then insert
some autotext. After the autotext has been inserted, word leaves line below
the autotext.

How can I delete this line? I've tried "selection.delete". This deletes all
contents in the cell. Tried "selection.paragrpahs(1).range.delete" and
nothing happens.

Ideas?

THNKS
Graham Mayor - 25 Oct 2007 06:48 GMT
The blank 'line' is probably attributable to a paragraph mark at the end of
the autotext entry. Create the entry again without the paragraph mark.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Hello all,
>
[quoted text clipped - 12 lines]
>
> THNKS

Rate this thread:






 
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.