Deleting Current Line

K

kMan

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
 
G

Graham Mayor

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.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top