+ Reply to Thread
Results 1 to 1 of 1

(Closed)Dynamic Userform Controls With Event Handlers

  1. #1
    Registered User
    Join Date
    02-14-2010
    Location
    Scotland
    MS-Off Ver
    MS Office 2013
    Posts
    35

    (Closed)Dynamic Userform Controls With Event Handlers

    [Edit] Hi All, moved this post to the excel programming section.

    Hi All,

    I have been looking at a way to add event handlers to control items I have dynamically created at run time. The userform I have created acts like a wizard for the end user and allows them to streamline their process by having pre-defined information stored within a sheet that will pull though when certain information has been selected. The number of required control items is unknown so this would be the preferred option for me. Again, any help on where I may have gone wrong (Code below) would be much appriciated.

    The focus area on which I appear to be having the issue is within the "Addline" procedure (Paticularly the lines :Dim LR As New LineRemover, Set LR.Control = Cheb(iCount)).

    The Cheb(iCount) control value passes a "False" value and does not update the useform when I select the paticular item.

    Apologies if my code is a bit messy!

    My Userform Code
    Please Login or Register  to view this content.
    My Class Module Code Titled "LineRemover"
    Please Login or Register  to view this content.
    Last edited by stuart010; 04-30-2012 at 12:06 PM. Reason: Posting to new thread (Closed and moved to Excel programming thread)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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