Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Row deletion event: identifying deleted row ID
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
faffo1980  
View profile  
 More options Nov 9, 7:55 pm
Newsgroups: microsoft.public.excel.programming
From: faffo1980 <faffo1...@discussions.microsoft.com>
Date: Mon, 9 Nov 2009 00:55:02 -0800
Local: Mon, Nov 9 2009 7:55 pm
Subject: Row deletion event: identifying deleted row ID
Hi all,
I would like to know if there is a way to identify which is the index of a
row deleted from the sheet.
Browsing the web I found some method to identify a row deletion event but
not the row index.

Thanks in advance for the help,

faffo1980


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary''s Student  
View profile  
 More options Nov 9, 9:06 pm
Newsgroups: microsoft.public.excel.programming
From: Gary''s Student <GarysStud...@discussions.microsoft.com>
Date: Mon, 9 Nov 2009 02:06:01 -0800
Local: Mon, Nov 9 2009 9:06 pm
Subject: RE: Row deletion event: identifying deleted row ID
Once you havw determined that a row has been deleted:

MsgBox Target.Row

will identify the row
--
Gary''s Student - gsnu200908


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Skaria  
View profile  
 More options Nov 9, 9:10 pm
Newsgroups: microsoft.public.excel.programming
From: Jacob Skaria <JacobSka...@discussions.microsoft.com>
Date: Mon, 9 Nov 2009 02:10:01 -0800
Local: Mon, Nov 9 2009 9:10 pm
Subject: RE: Row deletion event: identifying deleted row ID
Try the below to track row deletions from the used range...Select the sheet
tab which you want to work with. Right click the sheet tab and click on 'View
Code'. This will launch VBE. Paste the below code to the right blank portion.
Get back to to workbook and try out.

Private Sub Worksheet_Change(ByVal Target As Range)
Static lngRows As Long
If UsedRange.Rows.Count < lngRows Then
MsgBox "Row " & Target.Row & "deleted"
End If
lngRows = Me.UsedRange.Rows.Count
End Sub

If this post helps click Yes
---------------
Jacob Skaria


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
faffo1980  
View profile  
 More options Nov 9, 9:30 pm
Newsgroups: microsoft.public.excel.programming
From: faffo1980 <faffo1...@discussions.microsoft.com>
Date: Mon, 9 Nov 2009 02:30:01 -0800
Local: Mon, Nov 9 2009 9:30 pm
Subject: RE: Row deletion event: identifying deleted row ID
It works...
Thanks a lot!

faffo1980


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google