+ Reply to Thread
Results 1 to 3 of 3

spin button value

  1. #1
    tina
    Guest

    spin button value

    Hi
    Does the value in spinbutton properties have to be numeric or can it be a
    day eg mon tues wed etc if so how do I dio this
    Thanks
    tina

  2. #2
    Jim Rech
    Guest

    Re: spin button value

    A Forms toolbar spinner control returns an integer. You can have another
    cell with a formula that references the cell linked to the spinner like
    =CHOOSE(A1,"Sun","Mon","Tues","Weds","Thurs","Fri","Sat")

    Here A1 is linked to the spinner. You'd want to limit the spinner's minimum
    value to 1 and maximum value to 7 in this case.

    --
    Jim Rech
    Excel MVP
    "tina" <tina@discussions.microsoft.com> wrote in message
    news:3F0C30B7-AE26-4A70-9CD8-78C8754CFDC1@microsoft.com...
    | Hi
    | Does the value in spinbutton properties have to be numeric or can it be a
    | day eg mon tues wed etc if so how do I dio this
    | Thanks
    | tina



  3. #3
    Dave Peterson
    Guest

    Re: spin button value

    I put a spinner from the Forms toolbar on a worksheet.
    I rightclicked on it and chose Format control|Control tab and used A1 as the
    linked cell.
    I also made the spinner spin from 1 to 7.

    Then in B1, I put this formula:
    =TEXT(A1,"ddd")

    I'm using A1 as a date (1 = Jan 1, 1900, which was a Sunday).

    tina wrote:
    >
    > Hi
    > Does the value in spinbutton properties have to be numeric or can it be a
    > day eg mon tues wed etc if so how do I dio this
    > Thanks
    > tina


    --

    Dave Peterson

+ 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