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 / December 2004

Tip: Looking for answers? Try searching our database.

automated routine on focus of table cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
devo - 23 Dec 2004 12:55 GMT
Is there a way to automate various document functions / vba routines when
people move in to a cell in a table... !!!

but like onfocus in ms access but i dont know if you can take it that far in
word !

thanks
Helmut Weber - 23 Dec 2004 13:26 GMT
Hi,
see, to get you started,

http://www.word.mvps.org/FAQs/MacrosVBA/AppClassEvents.htm

and create an event of kind WindowSelectionChange, like

Private Sub oApp_WindowSelectionChange(ByVal Sel As
Selection)
If Selection.Information(wdWithInTable) Then
  MsgBox "in table"
End If
End Sub

Ask again, if you need assistance on how to continue.

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000

Rate this thread:






 
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.