Help!

Having a Word document open at the end of the document

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Document Management RSS
Next:  Outlook 2003 Contacts Follow Up Flag Question  
Author Message
Newword
External


Since: Aug 29, 2009
Posts: 2



PostPosted: Sat Aug 29, 2009 1:21 pm    Post subject: Having a Word document open at the end of the document
Archived from groups: microsoft>public>word>docmanagement (more info?)

I am keeping a simple journal in Word. What setting do I use to have it open
at the end of the document so that I don't have to open, then scroll to the
end to make additional entries?
Back to top
Suzanne S. Barnhill
External


Since: Sep 26, 2003
Posts: 24483



PostPosted: Sat Aug 29, 2009 3:32 pm    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just press Ctrl+End when you open the document. You could create an AutoOpen
macro to do this, but then you'd have to enable the macro every time you
opened it, which would be more trouble than just pressing this shortcut.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Newword" wrote in message

>I am keeping a simple journal in Word. What setting do I use to have it
>open
> at the end of the document so that I don't have to open, then scroll to
> the
> end to make additional entries?
>
Back to top
Gordon Bentley-Mix
External


Since: Jan 29, 2009
Posts: 14



PostPosted: Sat Aug 29, 2009 11:10 pm    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"You could create an AutoOpen macro to do this, but then you'd have to
enable the macro every time you opened it, which would be more trouble than
just pressing this shortcut."

Not quite true. If the document was based on a specific template and the
template was located in the right place and the macro security settings were
configured properly, the macro would run without any user intervention
required. In fact, depending on the version of Word, the macro could be in
the document itself and still allowed to run automatically if the document
was in a trusted location.

Having said that, even as a "professional" developer, I wouldn't waste my
time creating such a trivial macro; Ctrl+End is still a lot easier.
--
Cheers!

Gordon Bentley-Mix
Word MVP

Please post all follow-ups to the newsgroup.

Read the original version of this post in the Office Discussion Groups - no
membership required!

"Suzanne S. Barnhill" wrote in message

> Just press Ctrl+End when you open the document. You could create an
> AutoOpen macro to do this, but then you'd have to enable the macro every
> time you opened it, which would be more trouble than just pressing this
> shortcut.
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> http://word.mvps.org
>
> "Newword" wrote in message
>
>>I am keeping a simple journal in Word. What setting do I use to have it
>>open
>> at the end of the document so that I don't have to open, then scroll to
>> the
>> end to make additional entries?
>>
>
Back to top
Suzanne S. Barnhill
External


Since: Sep 26, 2003
Posts: 24483



PostPosted: Sat Aug 29, 2009 11:10 pm    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Trusted locations were introduced in Word 2007. In earlier versions, you'd
have to store the document in the Templates folder for this to work (or, as
you say, the macro would have to be in the template the document was based
on).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Gordon Bentley-Mix" wrote in message

> "You could create an AutoOpen macro to do this, but then you'd have to
> enable the macro every time you opened it, which would be more trouble
> than just pressing this shortcut."
>
> Not quite true. If the document was based on a specific template and the
> template was located in the right place and the macro security settings
> were configured properly, the macro would run without any user
> intervention required. In fact, depending on the version of Word, the
> macro could be in the document itself and still allowed to run
> automatically if the document was in a trusted location.
>
> Having said that, even as a "professional" developer, I wouldn't waste my
> time creating such a trivial macro; Ctrl+End is still a lot easier.
> --
> Cheers!
>
> Gordon Bentley-Mix
> Word MVP
>
> Please post all follow-ups to the newsgroup.
>
> Read the original version of this post in the Office Discussion Groups -
> no membership required!
>
> "Suzanne S. Barnhill" wrote in message
>
>> Just press Ctrl+End when you open the document. You could create an
>> AutoOpen macro to do this, but then you'd have to enable the macro every
>> time you opened it, which would be more trouble than just pressing this
>> shortcut.
>>
>> --
>> Suzanne S. Barnhill
>> Microsoft MVP (Word)
>> Words into Type
>> Fairhope, Alabama USA
>> http://word.mvps.org
>>
>> "Newword" wrote in message
>>
>>>I am keeping a simple journal in Word. What setting do I use to have it
>>>open
>>> at the end of the document so that I don't have to open, then scroll to
>>> the
>>> end to make additional entries?
>>>
>>
>
Back to top
Graham Mayor
External


Since: Jul 04, 2006
Posts: 4874



PostPosted: Sun Aug 30, 2009 6:10 am    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While not arguing with the general premise that here a macro is a
sledgehammer to crack a nut, this can be achieved with a couple of lines of
vba code in the normal template and work quite transparently.

If you add the following lines to an autoopen macro in the normal template
(changing the document name as appropriate) the journal will open with the
cursor at the end. Other documents will behave normally.

If ActiveDocument.name = "journaldocname.doc" Then
Selection.EndKey wdStory
End If

http://www.gmayor.com/installing_macro.htm

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Suzanne S. Barnhill wrote:
> Trusted locations were introduced in Word 2007. In earlier versions,
> you'd have to store the document in the Templates folder for this to
> work (or, as you say, the macro would have to be in the template the
> document was based on).
>
>
> "Gordon Bentley-Mix" wrote in message
>
>> "You could create an AutoOpen macro to do this, but then you'd have
>> to enable the macro every time you opened it, which would be more
>> trouble than just pressing this shortcut."
>>
>> Not quite true. If the document was based on a specific template and
>> the template was located in the right place and the macro security
>> settings were configured properly, the macro would run without any
>> user intervention required. In fact, depending on the version of
>> Word, the macro could be in the document itself and still allowed to
>> run automatically if the document was in a trusted location.
>>
>> Having said that, even as a "professional" developer, I wouldn't
>> waste my time creating such a trivial macro; Ctrl+End is still a lot
>> easier. --
>> Cheers!
>>
>> Gordon Bentley-Mix
>> Word MVP
>>
>> Please post all follow-ups to the newsgroup.
>>
>> Read the original version of this post in the Office Discussion
>> Groups - no membership required!
>>
>> "Suzanne S. Barnhill" wrote in message
>>
>>> Just press Ctrl+End when you open the document. You could create an
>>> AutoOpen macro to do this, but then you'd have to enable the macro
>>> every time you opened it, which would be more trouble than just
>>> pressing this shortcut.
>>>
>>> --
>>> Suzanne S. Barnhill
>>> Microsoft MVP (Word)
>>> Words into Type
>>> Fairhope, Alabama USA
>>> http://word.mvps.org
>>>
>>> "Newword" wrote in message
>>>
>>>> I am keeping a simple journal in Word. What setting do I use to
>>>> have it open
>>>> at the end of the document so that I don't have to open, then
>>>> scroll to the
>>>> end to make additional entries?
Back to top
Greg Maxey
External


Since: Feb 01, 2009
Posts: 70



PostPosted: Sun Aug 30, 2009 11:59 am    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Graham,

Conceding that it is just a matter of preference and in keeping with a new
naming convention, I would probably use:

If ActiveDocument.name = "journaldocname.doc" Then
NeedToOpenDocumentAtEndEveryTimeItOpensNailMeetsTheHammer
End If

in the AutoOpen macro to call this independent procedure:

Sub NeedToOpenDocumentAtEndEveryTimeItOpensNailMeetsTheHammer()
ActiveDocument.Bookmarks("\endofdoc").Select
End Sub

--
Greg Maxey - Word MVP

My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org


"Graham Mayor" wrote in message

> While not arguing with the general premise that here a macro is a
> sledgehammer to crack a nut, this can be achieved with a couple of lines
> of vba code in the normal template and work quite transparently.
>
> If you add the following lines to an autoopen macro in the normal template
> (changing the document name as appropriate) the journal will open with the
> cursor at the end. Other documents will behave normally.
>
> If ActiveDocument.name = "journaldocname.doc" Then
> Selection.EndKey wdStory
> End If
>
> http://www.gmayor.com/installing_macro.htm
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Suzanne S. Barnhill wrote:
>> Trusted locations were introduced in Word 2007. In earlier versions,
>> you'd have to store the document in the Templates folder for this to
>> work (or, as you say, the macro would have to be in the template the
>> document was based on).
>>
>>
>> "Gordon Bentley-Mix" wrote in message
>>
>>> "You could create an AutoOpen macro to do this, but then you'd have
>>> to enable the macro every time you opened it, which would be more
>>> trouble than just pressing this shortcut."
>>>
>>> Not quite true. If the document was based on a specific template and
>>> the template was located in the right place and the macro security
>>> settings were configured properly, the macro would run without any
>>> user intervention required. In fact, depending on the version of
>>> Word, the macro could be in the document itself and still allowed to
>>> run automatically if the document was in a trusted location.
>>>
>>> Having said that, even as a "professional" developer, I wouldn't
>>> waste my time creating such a trivial macro; Ctrl+End is still a lot
>>> easier. --
>>> Cheers!
>>>
>>> Gordon Bentley-Mix
>>> Word MVP
>>>
>>> Please post all follow-ups to the newsgroup.
>>>
>>> Read the original version of this post in the Office Discussion
>>> Groups - no membership required!
>>>
>>> "Suzanne S. Barnhill" wrote in message
>>>
>>>> Just press Ctrl+End when you open the document. You could create an
>>>> AutoOpen macro to do this, but then you'd have to enable the macro
>>>> every time you opened it, which would be more trouble than just
>>>> pressing this shortcut.
>>>>
>>>> --
>>>> Suzanne S. Barnhill
>>>> Microsoft MVP (Word)
>>>> Words into Type
>>>> Fairhope, Alabama USA
>>>> http://word.mvps.org
>>>>
>>>> "Newword" wrote in message
>>>>
>>>>> I am keeping a simple journal in Word. What setting do I use to
>>>>> have it open
>>>>> at the end of the document so that I don't have to open, then
>>>>> scroll to the
>>>>> end to make additional entries?
>
>
Back to top
Newword
External


Since: Aug 29, 2009
Posts: 2



PostPosted: Sun Aug 30, 2009 12:00 pm    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks to all the "posters" -- this will work just fine.

"Greg Maxey" wrote:

> Graham,
>
> Conceding that it is just a matter of preference and in keeping with a new
> naming convention, I would probably use:
>
> If ActiveDocument.name = "journaldocname.doc" Then
> NeedToOpenDocumentAtEndEveryTimeItOpensNailMeetsTheHammer
> End If
>
> in the AutoOpen macro to call this independent procedure:
>
> Sub NeedToOpenDocumentAtEndEveryTimeItOpensNailMeetsTheHammer()
> ActiveDocument.Bookmarks("\endofdoc").Select
> End Sub
>
> --
> Greg Maxey - Word MVP
>
> My web site http://gregmaxey.mvps.org
> Word MVP web site http://word.mvps.org
>
>
> "Graham Mayor" wrote in message
>
> > While not arguing with the general premise that here a macro is a
> > sledgehammer to crack a nut, this can be achieved with a couple of lines
> > of vba code in the normal template and work quite transparently.
> >
> > If you add the following lines to an autoopen macro in the normal template
> > (changing the document name as appropriate) the journal will open with the
> > cursor at the end. Other documents will behave normally.
> >
> > If ActiveDocument.name = "journaldocname.doc" Then
> > Selection.EndKey wdStory
> > End If
> >
> > http://www.gmayor.com/installing_macro.htm
> >
> > --
> > <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> > Graham Mayor - Word MVP
> >
> > My web site www.gmayor.com
> > Word MVP web site http://word.mvps.org
> > <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> >
> >
> > Suzanne S. Barnhill wrote:
> >> Trusted locations were introduced in Word 2007. In earlier versions,
> >> you'd have to store the document in the Templates folder for this to
> >> work (or, as you say, the macro would have to be in the template the
> >> document was based on).
> >>
> >>
> >> "Gordon Bentley-Mix" wrote in message
> >>
> >>> "You could create an AutoOpen macro to do this, but then you'd have
> >>> to enable the macro every time you opened it, which would be more
> >>> trouble than just pressing this shortcut."
> >>>
> >>> Not quite true. If the document was based on a specific template and
> >>> the template was located in the right place and the macro security
> >>> settings were configured properly, the macro would run without any
> >>> user intervention required. In fact, depending on the version of
> >>> Word, the macro could be in the document itself and still allowed to
> >>> run automatically if the document was in a trusted location.
> >>>
> >>> Having said that, even as a "professional" developer, I wouldn't
> >>> waste my time creating such a trivial macro; Ctrl+End is still a lot
> >>> easier. --
> >>> Cheers!
> >>>
> >>> Gordon Bentley-Mix
> >>> Word MVP
> >>>
> >>> Please post all follow-ups to the newsgroup.
> >>>
> >>> Read the original version of this post in the Office Discussion
> >>> Groups - no membership required!
> >>>
> >>> "Suzanne S. Barnhill" wrote in message
> >>>
> >>>> Just press Ctrl+End when you open the document. You could create an
> >>>> AutoOpen macro to do this, but then you'd have to enable the macro
> >>>> every time you opened it, which would be more trouble than just
> >>>> pressing this shortcut.
> >>>>
> >>>> --
> >>>> Suzanne S. Barnhill
> >>>> Microsoft MVP (Word)
> >>>> Words into Type
> >>>> Fairhope, Alabama USA
> >>>> http://word.mvps.org
> >>>>
> >>>> "Newword" wrote in message
> >>>>
> >>>>> I am keeping a simple journal in Word. What setting do I use to
> >>>>> have it open
> >>>>> at the end of the document so that I don't have to open, then
> >>>>> scroll to the
> >>>>> end to make additional entries?
> >
> >
>
>
>
Back to top
Gordon Bentley-Mix
External


Since: Jan 29, 2009
Posts: 14



PostPosted: Mon Aug 31, 2009 1:10 am    Post subject: Re: Having a Word document open at the end of the document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well I *did* say that it depended on the version of Word...
--
Cheers!

Gordon Bentley-Mix
Word MVP

Please post all follow-ups to the newsgroup.

Read the original version of this post in the Office Discussion Groups - no
membership required!

"Suzanne S. Barnhill" wrote in message

> Trusted locations were introduced in Word 2007. In earlier versions, you'd
> have to store the document in the Templates folder for this to work (or,
> as you say, the macro would have to be in the template the document was
> based on).
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> http://word.mvps.org
>
> "Gordon Bentley-Mix" wrote in message
>
>> "You could create an AutoOpen macro to do this, but then you'd have to
>> enable the macro every time you opened it, which would be more trouble
>> than just pressing this shortcut."
>>
>> Not quite true. If the document was based on a specific template and the
>> template was located in the right place and the macro security settings
>> were configured properly, the macro would run without any user
>> intervention required. In fact, depending on the version of Word, the
>> macro could be in the document itself and still allowed to run
>> automatically if the document was in a trusted location.
>>
>> Having said that, even as a "professional" developer, I wouldn't waste my
>> time creating such a trivial macro; Ctrl+End is still a lot easier.
>> --
>> Cheers!
>>
>> Gordon Bentley-Mix
>> Word MVP
>>
>> Please post all follow-ups to the newsgroup.
>>
>> Read the original version of this post in the Office Discussion Groups -
>> no membership required!
>>
>> "Suzanne S. Barnhill" wrote in message
>>
>>> Just press Ctrl+End when you open the document. You could create an
>>> AutoOpen macro to do this, but then you'd have to enable the macro every
>>> time you opened it, which would be more trouble than just pressing this
>>> shortcut.
>>>
>>> --
>>> Suzanne S. Barnhill
>>> Microsoft MVP (Word)
>>> Words into Type
>>> Fairhope, Alabama USA
>>> http://word.mvps.org
>>>
>>> "Newword" wrote in message
>>>
>>>>I am keeping a simple journal in Word. What setting do I use to have it
>>>>open
>>>> at the end of the document so that I don't have to open, then scroll to
>>>> the
>>>> end to make additional entries?
>>>>
>>>
>>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Document Management All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum