Consulting

Results 1 to 7 of 7

Thread: Solved: Split Control

  1. #1
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location

    Solved: Split Control

    I was wondering does Excel have this control, like in VB 6? If yes, what DLL / component do I need to reference to get this control.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What Split control are you referring to?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location

    Split Control

    Actually, I made a bad reference... I was mixing up with dot net. VB 6 does not have the split control, VS Studio dot net has it. This control allows you to dynamically change the controls sizes on the fly. For example, if you have two grid controls side by side, you can add this control to your form and you can change the width of your grid (or whatever control) by draggin the "handle".
    I found an ActiveX control for VB 6 (very simple - it does what I need, when I run it under VB 6), I compiled it and then I added to Excel. However, it does not run.....

    I've attached the Split Control for VB6, I hope someone can make it work.
    The attached control works in VB6, just not in Excel.

  4. #4
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    Try Andy Pope's class or just use .Net rather than VBA or a combo of the two. http://www.andypope.info/vba/Splitter.htm

  5. #5
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location
    Kenneth:
    Thanks, just looking at the picture, I think this is what I need!

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I always do my resizing manually, it is very simple code to invoke reszing a form then you just need to move the controls accordingly. I know Andy has another class that handels resizes, but whilst it is very good and very easy to use, it is not flexible enough for my needs. If you want to see the code, I can post it.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location
    Please do, if you can post it and thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •