Little Help with Macro

Parra

Well-known Member
Joined
Feb 21, 2002
Messages
752
I am finishing the end of a macro and am having a couple of problems. Everything is fine upto this point

....
Range("a6000").Select
ActiveCell.End(xlUp).Select
lastrow = ActiveCell.Row

I need the active cell to move down one row.

Once it goes down one row, I need to select the range from that cell to row 3000.

Any Suggestions. I do not know a lot of VB, I have made macros from bits and pieces from postings on this website.

Thanks for all your help.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Range(Cells(ActiveCell.Row + 1, ActiveCell.Column), cells(3000, activecell.column)).select
 
Upvote 0
Thanks Zacemmel

I figured out how to move the cell down
ActiveCell.Offset(1, 0).Activate
and was working on selecting the range.

Thanks
 
Upvote 0
Thanks Juan

I am learning as I go.

I do plan to take some VB classes as soon as I am done with the classes that focus on my major, Finance.

Parra
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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