active cell??

bposaner

Board Regular
Joined
May 28, 2002
Messages
74
All

I've got a score grid, say B2-V22(with the 1st row&col with names.) So if Team A plays Team G, you just look for TeamA in the first col and then Team G in the First Row. And where they intersect you enter the score.

What I want to do is that say I click cell J12 I want to be able to have a Function that will tell me the two teams involved.
So as I select other cells the names displays will also change.

I think "active cell" might play a part, but i'm not sure how.

BP
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Haluk

Rules Violation
Joined
Oct 26, 2002
Messages
1,075
On 2002-10-28 11:08, bposaner wrote:
All

I've got a score grid, say B2-V22(with the 1st row&col with names.) So if Team A plays Team G, you just look for TeamA in the first col and then Team G in the First Row. And where they intersect you enter the score.

What I want to do is that say I click cell J12 I want to be able to have a Function that will tell me the two teams involved.
So as I select other cells the names displays will also change.

I think "active cell" might play a part, but i'm not sure how.

BP

Hi;

i am not sure if this is the correct answer to your question, but it may give you an idea...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
MsgBox "Teams involved are; " & Cells(ActiveCell.Row, 1) & " and " & Cells(1, ActiveCell.Column)
End Sub
 

Forum statistics

Threads
1,143,752
Messages
5,720,637
Members
422,295
Latest member
Ryamker3

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
Top