Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Using double click on active cell to open a custom help window

I guess the first question would be can you create custom help windows
to aid the user in navigating the worksheet, secondly can the custom
help window be opened by simply double clicking the active cell. The
active cell would obvoiusly have some title to it,
ex: cell a10 = quantity. I'm thinking that the active cell address may
be a better way of determining what help window to open.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Using double click on active cell to open a custom help window

Paste this code directly in the sheet (Right click the sheet tab and select
view code)

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
Select Case Target.Address
Case "$A$1"
MsgBox "Do something with " & Target.Address
Case "$A$2"
MsgBox "Do something other than " & Target.Address
Case "$A$3"
MsgBox "Do something besides " & Target.Address
Case "$A$10"
MsgBox "Whatever with " & Target.Address
Case Else
Cancel = False
End Select

End Sub


--
HTH...

Jim Thomlinson


"burl_rfc" wrote:

I guess the first question would be can you create custom help windows
to aid the user in navigating the worksheet, secondly can the custom
help window be opened by simply double clicking the active cell. The
active cell would obvoiusly have some title to it,
ex: cell a10 = quantity. I'm thinking that the active cell address may
be a better way of determining what help window to open.


Reply
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
In the Project window where will be the double click option details in macro Excel Worksheet Functions 1 December 6th 07 06:19 AM
Cell contents with custom time format rounded after double-click HumblePie Excel Discussion (Misc queries) 2 August 6th 05 08:07 PM
Click on graph bar to execute a double-click in a pivot table cell [email protected] Charts and Charting in Excel 4 August 3rd 05 01:37 AM
Suppress double click behaviour when a picture on a worksheet is active/selected David Cuthill[_2_] Excel Programming 0 January 24th 05 11:45 PM
Double click to print active range Bob Wall Excel Programming 1 September 6th 04 04:55 AM


All times are GMT +1. The time now is 02:45 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"