|
-
Aug 2nd, 2005, 11:11 AM
#1
Thread Starter
Member
This Question involves knowledge of Excel 2000
Hi,
I currently have a combobox which I want to add items on a spreadsheet in Excel 2000. I read everywhere that when you right click the combobox, go into "format control", there should be a control tab, where you can enter the range of items to add.
There is no control tab when I enter "format control". I can always use .additem in VBA, but I want to do it in the excel which is easier.
Anyone have this problem also?
I know this is the wrong thread to post it in, but I am too lazy to register at another forum, since I believe people with VBA knowledge are familar with Excel too.
-
Aug 2nd, 2005, 11:23 AM
#2
Re: This Question involves knowledge of Excel 2000
All you get is "Size", "Protection", "Properties", and "Web" from the Format Control menu item.
Use the ListFillRange property in the property window to designate a cell range of values to use for the items.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 2nd, 2005, 11:40 AM
#3
Thread Starter
Member
Re: This Question involves knowledge of Excel 2000
Thanks
Even on the helpfile included with the Excel says use the control tab. Anyways that property requires a range. The data I want to add in are in non adjacent cells. For example, R5C26, R5C36, etc.
How would I do this?
-
Aug 2nd, 2005, 11:42 AM
#4
Re: This Question involves knowledge of Excel 2000
Create a new Range that contains linked cells to those non-adjacent cells. Then set the cbo property to use the new range which is just gathering up the non-adjacent cells for use in the cbo.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 2nd, 2005, 01:38 PM
#5
Thread Starter
Member
Re: This Question involves knowledge of Excel 2000
Thank you Rob for the helpful advice. I was wondering can you reference a range from another sheet for the listfillrange property? So far from all my tests, I can not.
-
Aug 2nd, 2005, 04:06 PM
#6
Thread Starter
Member
Re: This Question involves knowledge of Excel 2000
nevermind, I found a way. Just insert|name|define the names and then just set listfillrange property to it. Thanks anyways!
-
Aug 2nd, 2005, 04:10 PM
#7
Re: This Question involves knowledge of Excel 2000
Oops, sorry for the delay. I was busy in Chit Chat Forum most of the morning. 
You can even reference ranges from other workbooks by identifing the workbook name and then an "!" followed by the named range. Although, Excel actually opens the referenced workbook behind the scenes.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|