Find a value and move the cursor after copy the active cell

Jordan22

New Member
Joined
Aug 31, 2020
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello!
I am new in the VBA so I would like to ask a little help.

I need to find a value in a sheet (second sheet in the workbook) (it's the header cell of a column) this column's position always different, so it can be in C or D or E etc. column).

If i can find it, i need to jump into last cell (what contains value) in this column (luckily it doesnt have empty cells between datas), go up with one cell and after step into left way with 8 cell and i need that value in a different sheet.

For example: Header cell in N2, so it will jump into N17, go back with 1 cell N16, go into left way with 8 cell so i will get the F16, and i need this value.
Just the column's number and row always depend on header's location.
 
Sorry, I have been away from my computer most of the past two days.
Glad you got it working! :)
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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