How to call the first active cell under a header? VBA

Amanda10

New Member
Joined
Feb 29, 2016
Messages
2
Hello everyone,

I am trying to call the first available or active cell under a column and start the calculation from there.

c072632.jpg


so for example, in this picture:
the first active cell under column y is 48.5 and from there i can start my calculation for column Z ( taking into account that the first active cell in column y does not have to be row 5, it could be in row 6, 8, 1 or whatever row) I would like to know how to call the active cell on vba when calculating for a new value?

Thanks,
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the Board!

Why not just use =SUM(E$3:E4) and copy down? Excel's not going to do anything with blank cells, so what's it matter?

Otherwise, you'll need to give some clarification as to what you're trying to accomplish and why you need a VBA solution.

HTH,
 
Last edited:
Upvote 0

Forum statistics

Threads
1,211,802
Messages
6,104,064
Members
447,892
Latest member
madara uchiha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top