I have some vba code that I use to update my footer from a userform.
It all works as I have coded it but I am having trouble formatting the
footer text after I update it. For example on my first bookmark I
want it to be left justified and my page x of y that is already in the
footer, I want it right justified. Any ideas?

Thanks!

Re: Formatting text in Footer? by Greg

Greg
Fri Feb 09 23:11:40 CST 2007

No, not without seeing your code. If it isn't a state secret, why don' t
you post it?


--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Armey wrote:
> I have some vba code that I use to update my footer from a userform.
> It all works as I have coded it but I am having trouble formatting the
> footer text after I update it. For example on my first bookmark I
> want it to be left justified and my page x of y that is already in the
> footer, I want it right justified. Any ideas?
>
> Thanks!



Re: Formatting text in Footer? by Doug

Doug
Sat Feb 10 02:55:28 CST 2007

Have the text appear in the footer by the use of a DOCVARIABLE field and
have the code in your userform set the value of the variable and update the
fields in the .Range of the footer. Then you can include a \* charformat
switch to the field if necessary and apply the desired formatting to the D
of DOCVARIABLE.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Armey" <glock2010mm@gmail.com> wrote in message
news:1171081053.533995.268600@h3g2000cwc.googlegroups.com...
>I have some vba code that I use to update my footer from a userform.
> It all works as I have coded it but I am having trouble formatting the
> footer text after I update it. For example on my first bookmark I
> want it to be left justified and my page x of y that is already in the
> footer, I want it right justified. Any ideas?
>
> Thanks!
>



Re: Formatting text in Footer? by Armey

Armey
Sat Feb 10 12:17:45 CST 2007

Doug, excellent... this worked! Thank you.


On Feb 10, 2:55 am, "Doug Robbins - Word MVP"
<d...@REMOVECAPSmvps.org> wrote:
> Have the text appear in the footer by the use of a DOCVARIABLE field and
> have the code in your userform set the value of the variable and update the
> fields in the .Range of the footer. Then you can include a \* charformat
> switch to the field if necessary and apply the desired formatting to the D
> of DOCVARIABLE.
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "Armey" <glock201...@gmail.com> wrote in message
>
> news:1171081053.533995.268600@h3g2000cwc.googlegroups.com...
>
>
>
> >I have some vba code that I use to update my footer from a userform.
> > It all works as I have coded it but I am having trouble formatting the
> > footer text after I update it. For example on my first bookmark I
> > want it to be left justified and my page x of y that is already in the
> > footer, I want it right justified. Any ideas?
>
> > Thanks!- Hide quoted text -
>
> - Show quoted text -