+ Reply to Thread
Results 1 to 2 of 2

option button disabled

  1. #1
    Registered User
    Join Date
    10-24-2005
    Posts
    55

    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

  2. #2
    K Dales
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1