Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

User Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jambun@bigpond.com - 23 Mar 2008 09:24 GMT
Hi I have made a spreadsheet to calculate golf scores and do
countbacks, not knowing much about vba programming I am wondering if a
user form can be used to enter imformation on to the spreadsheet but
also show on the user form the results of what would be entered ie:
If a Golfer had 4 strokes on hole 1 and if entered would receive 2
stableford points, can I get the user form to show this before I
commit the score to the spreadsheet?
Thank You
EPJ
Bob Phillips - 24 Mar 2008 11:04 GMT
Have another label and in the textbox entry update it

Private Sub TextBox1_AfterUpdate()

   With Me

       Select Case Val(.TextBox1.Text)

           Case 4: .lblPoints.Caption = 2
           Case 5: .lblPoints.Caption = 1
           'etc.
       End Select
   End With
End Sub

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Hi I have made a spreadsheet to calculate golf scores and do
> countbacks, not knowing much about vba programming I am wondering if a
[quoted text clipped - 5 lines]
> Thank You
> EPJ

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.