+ Reply to Thread
Results 1 to 4 of 4

Button in a form keeps bringing up a Compile error

  1. #1
    Registered User
    Join Date
    01-07-2016
    Location
    Coventry, England
    MS-Off Ver
    8
    Posts
    2

    Unhappy Button in a form keeps bringing up a Compile error

    Hi guys

    I`m trying to get a spreadsheet working, it`s intended that the form add data to the preexisting columns to make a table of data just using the form. However while I can open the form via the add data button, and close the form, the other button once the form is open (the button to actually add the data) does not work and brings up an error. Not really worked with Excel coding before and got no idea what I did wrong.

    Edit: Removed file because issue solved and I realized i left my highly inappropriate placeholder text in (SORRY Gatti!) (the name is because it`s for a friend with no technical nohow, which is why she needs an automatic simple system)

    Any help would be muchly appreciated
    Attached Files Attached Files
    Last edited by Kellise; 01-07-2016 at 05:44 PM.

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Button in a form keeps bringing up a Compile error

    Hello... I'm editing your code cause have some issues... one second
    Last edited by Gatti; 01-07-2016 at 05:26 PM.

  3. #3
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Button in a form keeps bringing up a Compile error

    There we go...
    Not my best job but it works hehe

    First CLEAN ALL YOUR VBE UserForm1 PAGE

    Then do this:

    Please Login or Register  to view this content.
    Hope it solves your problem

  4. #4
    Registered User
    Join Date
    01-07-2016
    Location
    Coventry, England
    MS-Off Ver
    8
    Posts
    2

    Re: Button in a form keeps bringing up a Compile error

    Thanks! This fixed it

+ 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] Compile error: Member already exists in an object module...Trying to create a form
    By MonaP92 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-12-2015, 11:12 AM
  2. User form compile error - Need urgent help
    By Avinash1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2013, 09:04 AM
  3. compile error - Using text box to display date in an user form
    By sivdin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2013, 04:02 AM
  4. [SOLVED] Option button returning compile error
    By ObiWanBaloney in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2012, 05:10 PM
  5. First timer command button link - compile error expected end sub
    By MONSIRET in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 08:34 AM
  6. Compile Error on VBA Search Button
    By laffers in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2011, 07:23 AM
  7. Compile Error On Exit (can't find form controls)
    By Viv2004 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2005, 05:05 PM

Tags for this Thread

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