Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default 3+ Dynamic Dependent dropdowns?

Does any one know a more efficient routine?

http://www.xldynamic.com/source/xld.Dropdowns.html is pretty easy to
get bogged down in.

Say it's Continent=Country=State=City=Street=number


I think I am getting to the point where I need VB.NET or C#. Have any
of you made the transition with the intention of improving your
spreadsheet applications? I am in Energy Risk Management and we deploy
Excel models all the time, but Excel can be squirrely when your talking
about 6 cascading comboboxes on a userform. It's also not very secure.

I know it's two threads. I am most interested in the first question.
On the second I am fatalistic (I have to learn it, so who cares if
learning C# hurts.) Food for thought.

Thanks and Cheers,

James

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 3+ Dynamic Dependent dropdowns?

VB.NET will not solve that problem, it is a logic issue which would remain
in VB.NET, so you have to work out a way of constructing the data so that
you can access. I agree my technique gets very messy after 3 combos, so
maybe the best way is just to list all the addresses and dynamically extract
the relevant data.

So you would

Build a unique list of continents and load into Combo 1.
On selection from combo 1, build a unique list of all countries in that
continent, and load combo 2
etc.
etc.

Not very difficult, even without VB.NET.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"KD" wrote in message
oups.com...
Does any one know a more efficient routine?

http://www.xldynamic.com/source/xld.Dropdowns.html is pretty easy to
get bogged down in.

Say it's Continent=Country=State=City=Street=number


I think I am getting to the point where I need VB.NET or C#. Have any
of you made the transition with the intention of improving your
spreadsheet applications? I am in Energy Risk Management and we deploy
Excel models all the time, but Excel can be squirrely when your talking
about 6 cascading comboboxes on a userform. It's also not very secure.

I know it's two threads. I am most interested in the first question.
On the second I am fatalistic (I have to learn it, so who cares if
learning C# hurts.) Food for thought.

Thanks and Cheers,

James



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default 3+ Dynamic Dependent dropdowns?

Thanks Bob for your quick response. I will use the method you
recommend.

The logic problem would still exist, but doesn't VB.NET provide for
more robust forms. Just messing around in SharpDevelop Windows forms I
was able to build a very complicated cascading menu in no time. Is
there a way I can make this form into a control that is usable on a
userform. I realize this may be 'nuking-it-out' but the interface is
very nice, and having this capability may be useful in the future.
Also, this may be a question for a SharpDevelop group?

Cheers,
James

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 3+ Dynamic Dependent dropdowns?

James,

I know nothing about SharpDevelop (didn't even know about it, so thanks for
that lead), but my guess is that someone has seen the need for such a
control and so has developed it. I am sure it would be just as easy (hard)
to build such a control in VB (not offering BTW <vbg), just hasn't been
done yet. Again, it is not the environment doing that, it is the foresight
of some particular developer ( the beauty of OpenSource).

I agree the .Net environment is powerful, but it also has many difficulties
for those of us working in the open market.

Regards

Bob

"KD" wrote in message
ups.com...
Thanks Bob for your quick response. I will use the method you
recommend.

The logic problem would still exist, but doesn't VB.NET provide for
more robust forms. Just messing around in SharpDevelop Windows forms I
was able to build a very complicated cascading menu in no time. Is
there a way I can make this form into a control that is usable on a
userform. I realize this may be 'nuking-it-out' but the interface is
very nice, and having this capability may be useful in the future.
Also, this may be a question for a SharpDevelop group?

Cheers,
James



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
Dependent dropdowns Dave Excel Worksheet Functions 4 February 9th 10 01:25 AM
Dynamic link with 2 dependent listbox? Cam Excel Discussion (Misc queries) 0 April 8th 09 06:51 PM
Dynamic dropdowns MarcoZ Excel Worksheet Functions 0 March 5th 08 02:49 PM
Dynamic dropdowns gramps Excel Discussion (Misc queries) 3 August 27th 07 06:22 PM
How do I create Dynamic Dropdowns Baapi Excel Programming 1 March 8th 06 11:37 PM


All times are GMT +1. The time now is 06:48 PM.

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"