Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default How to detect an insert/delete?

If it's your macro, have it delete row 65535 (one up from the bottom), then
insert the row.

But look at the file size before you add the space character to A65536 and
after. It might not be important.

"mika." wrote:

That is very cool, thank you! Unfortunately,the macro I
want to run when the user tries to insert a row also needs
to insert a row (it just does so conditionally). Any
other suggestions?

-----Original Message-----
Maybe a naughty quickfix, but effective:
if you want to prevent the user from inserting a row,

type
a [space] in cell A65536
greetings,
Derek


-----Original Message-----
in VBA, I would like to do the following:

If the user tries to insert a row
'run another macro i have instead

Could someone give me a lead on how i might detect if

they
are inserting a row or not?

Thanks.
.

.


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert name - delete all yshridhar Excel Discussion (Misc queries) 3 April 23rd 08 11:19 AM
delete every X row, insert everyY row [email protected] Excel Discussion (Misc queries) 2 June 4th 07 04:34 PM
duplicate named ranges- how to detect, delete? Keith R Excel Discussion (Misc queries) 2 June 1st 07 04:41 PM
detect and delete existing sheet swiftcode Excel Discussion (Misc queries) 3 September 16th 05 05:20 PM
How to detect an entire column/row delete event? MV[_2_] Excel Programming 1 September 10th 03 01:03 PM


All times are GMT +1. The time now is 03:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"