PC Review


Reply
Thread Tools Rate Thread

combobox selection to change cell range data

 
 
ryan.fitzpatrick3@safeway.com
Guest
Posts: n/a
 
      19th Mar 2009
This is probably very easy, I have a combobox that has 1-10, I would
like it where whatever I select in that combobox, lets say 5, the
range P5:P28 gets populated with 5 all of the way down. Thanks.
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      20th Mar 2009
Private Sub ComboBox1_Change()
With ComboBox1
If .ListIndex > -1 Then
Range("P5:P28") = .Value
End If
End With
End Sub

--

Regards,
Nigel
(E-Mail Removed)



<(E-Mail Removed)> wrote in message
news:afe295c0-75b1-47b7-9583-(E-Mail Removed)...
> This is probably very easy, I have a combobox that has 1-10, I would
> like it where whatever I select in that combobox, lets say 5, the
> range P5:P28 gets populated with 5 all of the way down. Thanks.


 
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
How do I change the active cell in a non contiguous range or selection? ptroiano Microsoft Excel Programming 0 8th Nov 2009 09:55 PM
How do I change cell color based upon data range within the cell? =?Utf-8?B?Q2hyaXMgU2FuZGVycw==?= Microsoft Excel Worksheet Functions 1 6th Mar 2006 08:59 PM
Macro to change list box input range based on selection made in another cell Sue Microsoft Excel Programming 3 7th Oct 2004 06:45 PM
How do I get a datagrid to register a data change from a custom control cell (combobox)? =?Utf-8?B?bWV0YW1lZGlh?= Microsoft Dot NET Framework Forms 0 7th May 2004 11:31 PM
How do I get a datagrid to register a data change from a custom control cell (combobox)? =?Utf-8?B?bWV0YW1lZGlh?= Microsoft C# .NET 0 7th May 2004 11:31 PM


Features
 

Advertising
 

Newsgroups
 


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