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 / August 2006

Tip: Looking for answers? Try searching our database.

Capture insert new row in table event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sarjum@gmail.com - 04 Aug 2006 18:46 GMT
Is it possbile to capture the insert new row (above or below) event?
When they add a new row I want to add bookmarks to the cells?

Any help/direction is much appreciated.

Thanks
-Sarju
Doug Robbins - Word MVP - 04 Aug 2006 21:33 GMT
Dim mynewrow as Row

Set mynewrow = ActiveDocument.Tables(1).Rows.Add etc

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Is it possbile to capture the insert new row (above or below) event?
> When they add a new row I want to add bookmarks to the cells?
[quoted text clipped - 3 lines]
> Thanks
> -Sarju
Jezebel - 04 Aug 2006 22:42 GMT
Unfortunately, there is no 'new row' event. The Windows.SelectionChange
event is fired when you move into a new table cell: so you can write code
for that event in which you check if you are in a table at all, and if so,
whether the row contains whatever it needs to contain.

> Is it possbile to capture the insert new row (above or below) event?
> When they add a new row I want to add bookmarks to the cells?
[quoted text clipped - 3 lines]
> Thanks
> -Sarju
 
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.