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: 16
Default how to have checkBox in ToolBar (Icon) ?

Dear Sir,

I have a piece of code (replace 3** with 3000000)

Private Sub Worksheet_Change(ByVal Target As Range)
Dim x As String
x = Target.Value
If Right(x, 1) = "*" Then
Target.Value = Replace(x, "*", "000")
End If
End Sub

Is there any way that It would be easy for the user to activate/deactivate
the replacement with a click of checkbox (prefereble in the toolsBar) that is
very accessible.
What would be the best solution for activat/deactivate the REPLACEMENT?

thanks!

 
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
toolbar or icon in a add-ins guedj54 Excel Programming 1 October 31st 06 01:06 PM
Add icon to toolbar [email protected] Excel Programming 3 August 1st 06 02:15 AM
Customizing the toolbar Icon Rob van Gelder[_4_] Excel Programming 0 November 26th 04 11:13 PM
Icon in toolbar Nick Excel Programming 1 February 16th 04 11:57 AM
Add Icon to Toolbar SS[_3_] Excel Programming 1 January 16th 04 09:07 PM


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