
Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Hi Jean-Guy
The user uses the userform to put the text in and this text goes to a
bookmark in the footer.
Actually I have just thought of a workaround, and that is the macro does not
open the footer until the user clicks the ³OK² button then VB drops the text
in, closes the footer and back to the main body of the template - all of
this more quickly than the eye can see (hopefully).
I¹ll just test this out, and maybe, maybe this is the solution to the
problem.
Kind regards
Oz
On 4/1/05 17:14, in article e#V9WDo8EHA.2276@TK2MSFTNGP09.phx.gbl, "Jean-Guy
Marcil" <no-spam@leaveme.alone> wrote:
> Oz Springs was telling us:
> Oz Springs nous racontait que :
[quoted text clipped - 25 lines]
>
> Just my 2 cents!
Jonathan West - 04 Jan 2005 17:42 GMT
> Hi Jean-Guy
>
[quoted text clipped - 10 lines]
> I¹ll just test this out, and maybe, maybe this is the solution to the
> problem.
You don't need to open the footer window at all. If the text is to go at a
specific bookmark, you can have a line of code something like this which
puts the text there
ActiveDocument.Bookmarks("FooterBookmark").Range.Text = Textbox1.Text

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Jean-Guy Marcil - 04 Jan 2005 18:13 GMT
Oz Springs was telling us:
Oz Springs nous racontait que :
> Hi Jean-Guy
>
[quoted text clipped - 4 lines]
> does not open the footer until the user clicks the ?OK? button then
> VB drops the text in, closes the footer and back to the main body of
Do not open the footer! Trouble ahead!
Use the range object instead:
Dim FooterRange As Range
Set FooterRange =
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range
Or, if you are using a bookamrk:
Dim BookName As String
Dim BookRange As Range
BookName = "FootMark"
With ActiveDocument
Set BookRange = .Bookmarks.Item(BookName).Range
BookRange.Text = "New text to add."
.Bookmarks.Add BookName, BookRange
End With
> the template - all of this more quickly than the eye can see
> (hopefully).
[quoted text clipped - 38 lines]
>>
>> Just my 2 cents!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org