Gents,
Recently I was wonderfully replied in a post called "Restrict VBA execution to a range o cells!".
Shortly explaining, I wanted to restrict the use of a few macros to a certain range C28:I32 that constitutes a "section". The macros include adding, copying and deleting lines where the cells are selected within this section. I cannot allow these macros outside this section or all hells break loose but I eventually need these macros to take action on this section after new addition or deletion of lines (e.g. C28:I34 or C28:I31).
In fact, what I needed was that this section was C28:I?? where the I?? cell corresponds to what initially is I34 minus 2 cells up.
How can I make this section "dynamic"! I've been trying with named ranges and offset but unsuccessfully.HTML Code:
Regards,
Ricardo
Bookmarks