PC Review


Reply
Thread Tools Rate Thread

Building a new userform

 
 
=?Utf-8?B?SmltIFRpYmJldHRz?=
Guest
Posts: n/a
 
      24th Jan 2007
I am in the process of building a userform to make changes to golf teams.
Right now I have a combobox (TeamsComboBox) that contains a list of 50 golf
team names and a blank listbox (TeamListBox) below it. When the user clicks
on a name in the combobox I want that team's golfers to show up in the
listbox for editting. The names in the list of teams are in A2:A51. A2 is
named TEAM1, A3 is named TEAM2, etc. Each team has its own named array that
contains their 10 golfers (i.e. TEAM5GOLFERS). I plan to use the cell name of
the team selected to concatenate into "TEAM5"&"GOLFERS" to be able to bring
the team's golfers (i.e. TEAM5GOLFERS) into the listbox for editing. Am I
making any sense?

Thanks for any suggestions.
--
Jim T
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      24th Jan 2007
Private Sub TeamsComboBox_Click()
With Me
.TeamsListBox.RowSource = Worksheets("Sheet1") _
.Range(.TeamsComboBox.Value & "Golfers").Address(, , , True)
End With
End Sub


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Jim Tibbetts" <(E-Mail Removed)> wrote in message
news:7EE10228-60C9-4C13-89B3-(E-Mail Removed)...
>I am in the process of building a userform to make changes to golf teams.
> Right now I have a combobox (TeamsComboBox) that contains a list of 50
> golf
> team names and a blank listbox (TeamListBox) below it. When the user
> clicks
> on a name in the combobox I want that team's golfers to show up in the
> listbox for editting. The names in the list of teams are in A2:A51. A2 is
> named TEAM1, A3 is named TEAM2, etc. Each team has its own named array
> that
> contains their 10 golfers (i.e. TEAM5GOLFERS). I plan to use the cell name
> of
> the team selected to concatenate into "TEAM5"&"GOLFERS" to be able to
> bring
> the team's golfers (i.e. TEAM5GOLFERS) into the listbox for editing. Am I
> making any sense?
>
> Thanks for any suggestions.
> --
> Jim T



 
Reply With Quote
 
=?Utf-8?B?SmltIFRpYmJldHRz?=
Guest
Posts: n/a
 
      24th Jan 2007
That'll work. Thanks Bob.
--
Jim T


"Bob Phillips" wrote:

> Private Sub TeamsComboBox_Click()
> With Me
> .TeamsListBox.RowSource = Worksheets("Sheet1") _
> .Range(.TeamsComboBox.Value & "Golfers").Address(, , , True)
> End With
> End Sub
>
>
> --
> ---
> HTH
>
> Bob
>
> (change the xxxx to gmail if mailing direct)
>
>
> "Jim Tibbetts" <(E-Mail Removed)> wrote in message
> news:7EE10228-60C9-4C13-89B3-(E-Mail Removed)...
> >I am in the process of building a userform to make changes to golf teams.
> > Right now I have a combobox (TeamsComboBox) that contains a list of 50
> > golf
> > team names and a blank listbox (TeamListBox) below it. When the user
> > clicks
> > on a name in the combobox I want that team's golfers to show up in the
> > listbox for editting. The names in the list of teams are in A2:A51. A2 is
> > named TEAM1, A3 is named TEAM2, etc. Each team has its own named array
> > that
> > contains their 10 golfers (i.e. TEAM5GOLFERS). I plan to use the cell name
> > of
> > the team selected to concatenate into "TEAM5"&"GOLFERS" to be able to
> > bring
> > the team's golfers (i.e. TEAM5GOLFERS) into the listbox for editing. Am I
> > making any sense?
> >
> > Thanks for any suggestions.
> > --
> > Jim T

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSBuild : Building a project without building it's dependencies ramshankaryadav@gmail.com Microsoft C# .NET 4 8th Dec 2007 04:18 AM
MSBuild : Building a project without building it's dependencies ramshankaryadav@gmail.com Microsoft Dot NET 0 5th Dec 2007 05:29 AM
Automating document building using building blocks and content con =?Utf-8?B?QmlnIERhdmU=?= Microsoft Word Document Management 1 12th Jun 2007 07:01 PM
Looping procedure calls userform; how to exit loop (via userform button)? KR Microsoft Excel Programming 6 27th Jul 2005 12:57 PM
Active Directory and moving from multiple building to a single building drapeau Microsoft Windows 2000 Active Directory 1 10th Sep 2004 05:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:50 AM.