Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Peterfc2

Active Member
Joined
Jan 2, 2004
Messages
374
Office Version
  1. 2013
Platform
  1. Windows
I have a sheet with this..

If Selection.Count = 1 Then
If Not Intersect(Target, Sheets("B's").Range("a3:a200")) Is Nothing Then Sheets("SEARCH").Range("B1") = ActiveCell
End If....

which runs

Application.Run "Button22_Click"

another macro. This works fine.

I tried to Record a macro that uses a click on the Range("a3:a200") but it does not record the click.
 

Some videos you may like

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Watch MrExcel Video

Forum statistics

Threads
1,122,561
Messages
5,596,853
Members
414,107
Latest member
Tigretto

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