Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default edit combo boxes

Hello. I've inherited these timesheets that have combo-boxes in them for
drop-down menus (to categorize expenses). I need to update the lists in the
combo boxes, and I'm not sure how to do this-- I'm not familiar with visual
basic.

This is what I see when I open the code in Visual Basic.

Private Sub ComboBox1_Change()

End Sub

Private Sub ComboBox1_MouseDown(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)

End Sub

Private Sub ComboBox20_Change()

End Sub

Private Sub ComboBox7_Change()

End Sub

Not sure how to find the text to change. Thanks for any help!
Christine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default edit combo boxes

There's nothing in those procedures. They're just stubs waiting for code to be
added.

If these are comboboxes from the control toolbox toolbar that are placed on a
worksheet, then show that control toolbox toolbar.

Select one of the comboboxes.
rightclick on it and choose properties
look for listfillrange

This may be the thing you need to adjust. Actually, that would point to a range
on some worksheet where you'd add/delete/modify the values. Then you adjust
that .listfillrange property to point at the adjusted range.

Christine wrote:

Hello. I've inherited these timesheets that have combo-boxes in them for
drop-down menus (to categorize expenses). I need to update the lists in the
combo boxes, and I'm not sure how to do this-- I'm not familiar with visual
basic.

This is what I see when I open the code in Visual Basic.

Private Sub ComboBox1_Change()

End Sub

Private Sub ComboBox1_MouseDown(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)

End Sub

Private Sub ComboBox20_Change()

End Sub

Private Sub ComboBox7_Change()

End Sub

Not sure how to find the text to change. Thanks for any help!
Christine


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default edit combo boxes

That worked-- thank you!!

"Dave Peterson" wrote:

There's nothing in those procedures. They're just stubs waiting for code to be
added.

If these are comboboxes from the control toolbox toolbar that are placed on a
worksheet, then show that control toolbox toolbar.

Select one of the comboboxes.
rightclick on it and choose properties
look for listfillrange

This may be the thing you need to adjust. Actually, that would point to a range
on some worksheet where you'd add/delete/modify the values. Then you adjust
that .listfillrange property to point at the adjusted range.

Christine wrote:

Hello. I've inherited these timesheets that have combo-boxes in them for
drop-down menus (to categorize expenses). I need to update the lists in the
combo boxes, and I'm not sure how to do this-- I'm not familiar with visual
basic.

This is what I see when I open the code in Visual Basic.

Private Sub ComboBox1_Change()

End Sub

Private Sub ComboBox1_MouseDown(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)

End Sub

Private Sub ComboBox20_Change()

End Sub

Private Sub ComboBox7_Change()

End Sub

Not sure how to find the text to change. Thanks for any help!
Christine


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM
Filtered list for Combo Box ListFillRange - Nested Combo Boxes DoctorG Excel Programming 3 February 23rd 06 12:15 PM
Combo Boxes and Tick Boxes turner2000 Excel Programming 0 September 28th 04 10:01 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"