Row addition capture
Row addition capture
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Row addition capture

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    How to know if a new row or column has been
    added to sheet.I want to run a macro,when
    a new row has been added to worksheet ,manually .

    Thanks in advance.


    [ This Message was edited by: sunny.mohar on 2002-03-11 16:19 ]

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Bogota, Colombia
    Posts
    11,959
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Well, i worked this out, kind of. First, you need to put it in the _Calculate() event. Name a cell, at the bottom of your range (Assuming you have one...). Then, in your macro, you can "look" at this range row with:

    Range("MyRange").Row

    and compare it with your "standard", that way you can tell if a row has been added.
    Regards,

    Juan Pablo González
    http://www.juanpg.com

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com