(Msg. 1) Posted: Sun Mar 23, 2008 8:24 am
Post subject: User Form Add to elertz Archived from groups: microsoft>public>excel>templates (more info?)
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
(Msg. 2) Posted: Mon Mar 24, 2008 10:04 am
Post subject: Re: User Form Add to elertz [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
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
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
<jambun.TakeThisOut@bigpond.com> wrote in message
news:ld4cu311doko92009itnemdquljoi4mkni@4ax.com...
> 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
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum