Pop up windown

D

Dee

Hi ,
I want a pop up windown with yes/no appear when user reach or click at the
end of document . I created a userform and tried to write some code but it
doesn't work. If you know please help me.

thank
Dee
 
J

Jezebel

You can trap the WindowSelectionChange event, and test where the Selection
has ended up. That will work if the user clicks at, or jumps to, the end of
document, but not if they move there using the right arrow.
 
J

Jezebel

It's well covered in Help, under 'Trapping Word event' (or something like
that). It takes a fair amount of code: you need a class module with a
WithEvents reference to the Word application, and some ordinary code to
instantiate the class. If none of that means anything to you, you'll need to
read up on VB/VBA classes until you understand it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top