Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Highlighting ser selected item!

Hello all!

A quick qn: I created a menu with sub menus and stuff in a workbook.
The submenus have toolbars attached to them and will be selected by th
user.
The toolbars inturn have macros assigned to them, performing specifi
tasks.
But I would like to have the user selected item highlighted by a 'tic
mark'? This way, the user will know his selection.

Thanks, lookforward to your help guys.

Arun.
Vtec Corp

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Highlighting ser selected item!

You van have a check mark alongside to in dicate it button state,. but it
will stay checked unless you turn it off with another click.

This is an example of a macro assigned to a commandbar taht would do this

With Application.CommandBars.ActionControl
If .State = msoButtonUp Then
ActiveWorkbook.Worksheets(.Caption).Visible = xlSheetHidden
.State = msoButtonDown
Else
ActiveWorkbook.Worksheets(.Caption).Visible = xlSheetVisible
.State = msoButtonUp
End If
End With


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"aiyer " wrote in message
...
Hello all!

A quick qn: I created a menu with sub menus and stuff in a workbook.
The submenus have toolbars attached to them and will be selected by the
user.
The toolbars inturn have macros assigned to them, performing specific
tasks.
But I would like to have the user selected item highlighted by a 'tick
mark'? This way, the user will know his selection.

Thanks, lookforward to your help guys.

Arun.
Vtec Corp.


---
Message posted from http://www.ExcelForum.com/



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
highlighting only the currently selected cell, until i click off o blind chris Excel Discussion (Misc queries) 4 September 23rd 09 01:42 AM
Highlighting one chart item stephan Charts and Charting in Excel 3 April 23rd 08 07:29 PM
CHANGE THE COLOR OF HIGHLIGHTING SELECTED TEXT Wanda Excel Discussion (Misc queries) 1 August 22nd 07 08:54 PM
Excluding VAT for selected item triffidbook Excel Worksheet Functions 4 September 7th 06 08:20 AM
Selected cell highlighting has vanished...no shading now. Brymor Excel Worksheet Functions 0 February 6th 06 03:47 PM


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