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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,215,634
Messages
6,125,934
Members
449,275
Latest member
jacob_mcbride

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