Group:  Microsoft Word ยป microsoft.public.word.vba.customization
Thread: Capture insert new row in table event

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Capture insert new row in table event
sarjum[ at ]gmail.com 04.08.2006 17:46:34
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

Re: Capture insert new row in table event
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 04.08.2006 20:33:00
Dim mynewrow as Row

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

--
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

<sarjum[ at ]gmail.com> wrote in message
news:1154713594.428475.224480[ at ]h48g2000cwc.googlegroups.com...
[Quoted Text]
> 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
>


Re: Capture insert new row in table event
"Jezebel" <warcrimes[ at ]whitehouse.gov> 04.08.2006 21:42:42
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.


<sarjum[ at ]gmail.com> wrote in message
news:1154713594.428475.224480[ at ]h48g2000cwc.googlegroups.com...
[Quoted Text]
> 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
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net