Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Linking a Ribbon control with an help file


Hello,

When the mouse hovers over a built-in Ribbon control, you can press F1 to show
the help topic related to it.

Is it possible to achieve the same with a custom Ribbon control, and how ?

Thanks !
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Linking a Ribbon control with an help file

As far as I know it is not possible because we have no way to know which
control the cursor is hovering over when F1 is pressed.

--
Jim
"Ahasverus" wrote in message
...

Hello,

When the mouse hovers over a built-in Ribbon control, you can press F1 to
show the help topic related to it.

Is it possible to achieve the same with a custom Ribbon control, and how ?

Thanks !



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Linking a Ribbon control with an help file


Thanks for the answer, Jim.

Obviously, there are much improvements to do with the new interface.

Jim Rech a écrit :
As far as I know it is not possible because we have no way to know which
control the cursor is hovering over when F1 is pressed.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Linking a Ribbon control with an help file

One work-around that you might be interested in is to test the state of
SHIFT key when the button is clicked. In the code assigned to that control
you could use

Sub Whatever()
If IsShiftKeyDown = True Then
''''''''''''''''''''''''''''''''''
' display help
''''''''''''''''''''''''''''''''''
Exit Sub
End If
''''''''''''''''''''''''''''''''''
' normal macro behavior
''''''''''''''''''''''''''''''''''
End Sub

See http://www.cpearson.com/excel/KeyTest.aspx for info about how to test
the state of the SHIFT key. It isn't as nice as a simple F1, but may be
satisfactory.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Ahasverus" wrote in message
...

Thanks for the answer, Jim.

Obviously, there are much improvements to do with the new interface.

Jim Rech a écrit :
As far as I know it is not possible because we have no way to know which
control the cursor is hovering over when F1 is pressed.


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
Linking dats on a worksheet to control panel sbearman Charts and Charting in Excel 0 June 25th 08 01:35 PM
Excel 2007 Ribbon file extension Dennis Excel Discussion (Misc queries) 6 November 26th 07 06:01 PM
Download file with Ribbon icon list Cresta Excel Discussion (Misc queries) 2 October 9th 07 10:27 PM
[Office 2007] Auto-hide ribbon toggle button and control recent do Yishion Excel Programming 2 June 4th 07 08:27 PM
Run Macro from a Control Button and linking to AddIn's RADO Excel Programming 1 October 9th 03 04:54 PM


All times are GMT +1. The time now is 05:29 AM.

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

About Us

"It's about Microsoft Excel"