+ Reply to Thread
Results 1 to 1 of 1

Nifty Properties control, a bit like the one in the VBA IDE - with some twiddly bits

  1. #1
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Nifty Properties control, a bit like the one in the VBA IDE - with some twiddly bits

    An easy to use properties control, a bit like the one in the VBA IDE - see here for a screenshot

    It allows for Key (property names) / value pairs where the values can either be text boxes or comboboxes. The size of the control is set by the size of the label that is placed on the form at design time.

    The code to make it all work is a bit in-depth, but actually using the control is pretty straightforward, just copy all the classes in the workbook into your project and use the code from the userform as a guide as to how to set things up.


    It includes:
    • The ability to add new properties at any time (though you can't remove them)
    • Easy error adding for validation - see here for a screenshot
    • Easy to use key/value pairs in the form of a dictionary
    • Cancellable events for changing values and adding new properties
    • Choice of textbox or combobox for entering values
    • Nifty interfaces to keep things as simple to use as possible
    • All VBA (with a reference to the scripting runtime) so it's easy to tinker with if you want to improve / adapt and has no other external references

    Hope its useful for someone else
    Attached Images Attached Images    
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to 'hide/disable' a TreeView Control in 64 bits versions of Excel?
    By RiTz21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-19-2012, 07:57 PM
  2. Control properties color pallette
    By racudd in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-24-2008, 03:13 AM
  3. [SOLVED] How to control chart properties from worksheet
    By Marko Pinteric in forum Excel General
    Replies: 3
    Last Post: 04-05-2006, 07:40 AM
  4. [SOLVED] change control properties according to a cell value
    By Billums in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2006, 07:20 AM
  5. [SOLVED] Spinner Control Properties
    By rpalmer4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2005, 05:45 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1