Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default option button disabled


Hi
I have used the code below to try and disable the option button but get
a debug error with the first line can you help

Private Sub OptionButton9_Click()
If Sheets("b28pricing!D11") 5000 Then
OptionButton10.Enabled = False
OptionButton10.Value = False
OptionButton9.Value = True
End If

5000 means in the cell (5000mm) but only the number is put in without
the mm part


Thanks


--
raw
------------------------------------------------------------------------
raw's Profile: http://www.excelforum.com/member.php...o&userid=28312
View this thread: http://www.excelforum.com/showthread...hreadid=522294

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default option button disabled

If Sheets("b28pricing").Range("D11") 5000 Then
--
- K Dales


"raw" wrote:


Hi
I have used the code below to try and disable the option button but get
a debug error with the first line can you help

Private Sub OptionButton9_Click()
If Sheets("b28pricing!D11") 5000 Then
OptionButton10.Enabled = False
OptionButton10.Value = False
OptionButton9.Value = True
End If

5000 means in the cell (5000mm) but only the number is put in without
the mm part


Thanks


--
raw
------------------------------------------------------------------------
raw's Profile: http://www.excelforum.com/member.php...o&userid=28312
View this thread: http://www.excelforum.com/showthread...hreadid=522294


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
Merge Cells option is disabled sometimes, how do I enable it? Darla Excel Discussion (Misc queries) 3 May 20th 09 10:18 PM
paste option disabled after clicking copy mbargfre Excel Discussion (Misc queries) 5 August 1st 08 05:32 PM
the merge cells option is disabled, i don't know why Badbull Excel Discussion (Misc queries) 1 November 21st 07 05:17 PM
Track Changes menu option disabled TH3 Excel Discussion (Misc queries) 0 January 4th 07 04:14 PM
Why is my sort menu option disabled? Valerie M Excel Discussion (Misc queries) 2 October 20th 05 09:15 PM


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