LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default operation macro by clicking on cell

Right click on the Sheet Tab and Place this in the code area:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With Sheet1
If Not Intersect(Target, Me.Range("A1:A5")) Is Nothing Then ' Chnage the
Range to suit what cell you want to Click on
ActiveCell.Select
'Place your macro ro CALM macro here
End If
End With
End Sub


adjust to suit

Corey....



"shlomit" wrote in message
...
Hi,

I want to play macro by clicking on cell.
Can I do it?

Thanks,
Shlomit



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Run a Macro from clicking a cell Romileyrunner1 Excel Worksheet Functions 11 September 20th 09 01:19 PM
Run a macro when clicking a cell. [email protected] Excel Worksheet Functions 9 May 7th 08 08:58 AM
Run a macro after clicking into cell Esradekan Excel Worksheet Functions 6 March 27th 08 10:34 PM
run macro upon clicking a cell? thebluerider[_2_] Excel Programming 3 August 19th 06 03:07 PM
Run macro from clicking on a cell jrd269 Excel Discussion (Misc queries) 2 June 3rd 05 09:35 PM


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"