Hi everyone,
I am beginning to think VBA in Excel has a very steep learning curve![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I have a practice project that searches for something, selects the matching cell, names it as a range and does some other stuff with that value. Now I need to extend that range by 3 rows. recording a macro did not help, Excel KNOWS the cell references of the activecell and my function does not, and even if I did, there is no guarantee I am smart enough to use that info. So anyone know how to extend my range in code, since it will always change based on the lookup parameter?
Thanks,
Michael
I am beginning to think VBA in Excel has a very steep learning curve
I have a practice project that searches for something, selects the matching cell, names it as a range and does some other stuff with that value. Now I need to extend that range by 3 rows. recording a macro did not help, Excel KNOWS the cell references of the activecell and my function does not, and even if I did, there is no guarantee I am smart enough to use that info. So anyone know how to extend my range in code, since it will always change based on the lookup parameter?
Thanks,
Michael