Removing lines in word

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi Group, In my application the user has the option of print using letter
header paper or non letterheaded paper.

If the user selects headed paper I would like to remove the top 7 lines of
the word document.

How would I do this?
 
Hi Group, In my application the user has the option of print using letter
header paper or non letterheaded paper.

If the user selects headed paper I would like to remove the top 7 lines of
the word document.

How would I do this?

You have posted this message to the wrong newsgroup.
The access in this groups name refers to Microsoft Access, a database
program.
Please repost to the correct newsgroup for the Word program version
you are using. I would suggest you include your Windows and Office
version number in the message.
 
Hi Fred, I have not sent this to the wrong news group.

My program is in access and I would like to use VBA to remove certain lines
from a word document.

There will be an option for normal paper or letter headed paper in the form.
If the user selects the document and then selects letterheaded paper i would
like the top 7 lines of the word document to be removed.
 
Realistically, Word doesn't think in terms of "the top 7 lines": it deals
with paragraphs, not lines (because changing the margins, for instance, will
change the lines). You'd be far better off using Automation to change the
top margin for the first page. And while you'd be doing it from Access,
you're likely to get better help on the actual VBA code you need in a Word
group.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Chris said:
Hi Fred, I have not sent this to the wrong news group.

My program is in access and I would like to use VBA to remove certain
lines from a word document.

There will be an option for normal paper or letter headed paper in the
form. If the user selects the document and then selects letterheaded paper
i would like the top 7 lines of the word document to be removed.
 
Back
Top