Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 16th, 2007, 11:00 AM
roe roe is offline
Registered User
Join Date: Jan 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Form - Changing Range by SpinButton

I want to change the Range.Value by SpinButton but it doesn't work
What can be the problem?

Private Sub SpinButton1_SpinUp()
    Counter.Value = Counter.Value + 0.5
    Label17.Caption = Label14.Caption - Counter.Value
    Sheets("List3").Range("F2").Value = Val(Label17.Caption)
' This alternative also doesn't work
' TextBox2.Value = TextBox1.Value + Counter.Value
End Sub

The procedure changes Label.caption but doesn't change the textbox.value

Are there any form sample macros available on the internet?
Thanks for the tips

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Randomize a range frankjuel Excel VBA 5 February 24th, 2016 10:26 AM
Changing the BackColor property of a Form Qman69 Visual Basic 2005 Basics 0 March 14th, 2007 04:43 PM
dynamic changing the image when a form get submit pandad Servlets 1 January 27th, 2006 04:05 PM
Check form for integers in range... guynorton Classic ASP Basics 8 October 27th, 2004 08:53 AM

All times are GMT -4. The time now is 07:50 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.