Results 1 to 6 of 6

Refer to named SpinButton in VBA

Threaded View

  1. #1
    Registered User
    Join Date
    07-15-2011
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Refer to named SpinButton in VBA

    I have a SpinButton in my Excel worksheet (not on a form), that I have named "spinMonth". I have assigned a VBA macro called "spinMonthClick" to the SpinButton. In the macro I want to refer to the Value property of the SpinButton. How do I do that? I can refer to the SpinButton as a Shape using ActiveSheet.Shapes("spinMonth"), but this doesn't give me access to the Value property.

    Thanks in advance.
    Last edited by mjj300; 07-15-2011 at 04:42 PM.

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