Re: Macro question by Dave
Dave
Wed Aug 13 07:29:02 CDT 2003
Hi Derek,
Instead if creating a template, create a _Style_ that has the attributes:
Font name, size, bold, and space after paragraph (instead of couple of blank
lines)
Apply that style to the text you insert.
HTH
"martinique" <bedbugs@thewhitehouse.com> wrote in message
news:%23srZ1BTYDHA.1736@TK2MSFTNGP10.phx.gbl...
> The short answer is, create a template. That's what they're for.
>
> However, to make you recorded macro work, do everything with the keyboard.
> In Word there is nothing that absolutely has to be done with the mouse --
> there are always keyboard equivalents.
>
>
>
> "Derek Jones" <djone2@su.edu> wrote in message
> news:022f01c3610e$5b14ebc0$a601280a@phx.gbl...
> > I am trying to record a macro that will display a
> > letterhead with a particular font, size, etc. When I
> > record the macro:
> >
> > 1. I change the font, font size, and turn Bold on.
> > 2. I type what I want my letterhead to display.
> > 3. I enter a couple blank lines.
> > 4. I stop recording.
> >
> > When I run this macro on a new document, the only
> > attribute that carries over is the bold. I thought Word
> > recorded all mouse clicks in the toolbar. I don't want
> > users to manually enter the font and font size in the VB
> > code every time one of them wants to create a macro like
> > this. Is there any way to solve this problem? Thanks.
> >
> > Derek Jones
> > Software Support Specialist
> > Shenandoah University
>
>