+ Reply to Thread
Results 1 to 2 of 2

VBA Ok Click() If Statement Procedure Too Long

  1. #1
    Registered User
    Join Date
    08-22-2014
    Location
    Sheffield, England
    MS-Off Ver
    Windows 7 Professional
    Posts
    20

    VBA Ok Click() If Statement Procedure Too Long

    Hi,

    I'm trying to create a workbook with a userform including tick boxes. And depending on what tick boxes are 'clicked' a new worksheet opens with information on the options clicked.

    However, there are to be at least 40 tick boxes and there is lots of information. I got so far before hitting the 'Procedure too large' error. I cannot figure out (even from looking at other forums on various websites including this one) how to overcome this problem. All the information for the IF statements for the tick boxes are based in the Private_Sub OK_Click(). Some code is below, but this thread can only be 15000 characters long. Before asking the text that I am wanting to input into the cells is not finished yet which is why there are only 2-3 words. I haven't used VBA for long and any answers would be very helpful and much appreciated. I hThanks


    Please Login or Register  to view this content.
    Last edited by LukeAM; 08-22-2014 at 06:58 AM.

  2. #2
    Registered User
    Join Date
    08-22-2014
    Location
    Sheffield, England
    MS-Off Ver
    Windows 7 Professional
    Posts
    20

    Re: VBA Ok Click() If Statement Procedure Too Long

    Sorry about the length
    Last edited by LukeAM; 08-22-2014 at 07:46 AM.

+ 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. [SOLVED] Help needed simplifying code as procedure to long
    By johnny_p in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-28-2014, 10:55 AM
  2. Dbl Click Event Procedure
    By vbastruggles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2013, 10:35 PM
  3. Excel 2010: Macro Error 'Procedure Too Long'
    By marthadanielle in forum Excel General
    Replies: 4
    Last Post: 04-13-2012, 07:15 AM
  4. Procedure Too Long
    By Nick3535 in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 10-08-2010, 09:02 PM
  5. Double click procedure in an add-in
    By james.rees02 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2009, 03:23 AM

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