LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Run a macro when clicking a cell.

On 5 May, 23:41, Gord Dibben <gorddibbATshawDOTca wrote:
All you uploaded was a Class Module.........*.cls

Using the the Excel Calendar Workbook *from Martin's site.

Right-click on Sheet1 tab and "View Code"

Copy/paste this into that sheet module.

Private Sub Worksheet_BeforeDoubleClick _
(ByVal Target As Range, Cancel As Boolean)
* * *OpenCalendar
* * * * *Cancel = True
End Sub

Alt + q to return to the Excel window.

Double-click on any cell.

Gord



On Mon, 5 May 2008 13:05:37 -0700 (PDT), wrote:
Hi Gord,


Thanks for getting back to me.


I've followed those step by step instructions and I can get the
calendar to pop up either with right-click or button. *What I want to
do now is have it pop up with a double-click on a particular cell, or
cells.


I've uploaded the workbook here as advised.


http://www.freefilehosting.net/download/3gk65


Thanks again.


K-Rod.- Hide quoted text -


- Show quoted text -


Hi Gord,

I'm still getting the error.

How do I upload the full workbook please?

Thanks,

K-Rod.
 
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
clicking all the way to another cell jcheko Excel Worksheet Functions 5 April 25th 08 09:04 PM
Run a macro after clicking into cell Esradekan Excel Worksheet Functions 6 March 27th 08 10:34 PM
Using Macro to sort without clicking on macro button dd Excel Discussion (Misc queries) 3 May 3rd 07 06:00 PM
Colour by clicking cell ronoee New Users to Excel 12 January 29th 07 12:07 AM
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 07:26 PM.

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"