Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Pop up windown

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dee - 09 Nov 2005 12:45 GMT
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
Jezebel - 09 Nov 2005 13:14 GMT
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.

> Hi ,
> I want  a pop  up windown with yes/no appear when user reach or click at
[quoted text clipped - 4 lines]
> thank
> Dee
Dee - 09 Nov 2005 14:05 GMT
I appreaciate if you could give me the code how to do that.

thank you
Dee

> 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
[quoted text clipped - 8 lines]
> > thank
> > Dee
Jezebel - 10 Nov 2005 12:02 GMT
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.

>I appreaciate if you could give me the code how to do that.
>
[quoted text clipped - 17 lines]
>> > thank
>> > Dee
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.