+ Reply to Thread
Results 1 to 2 of 2

UserForm Code Error

  1. #1
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    UserForm Code Error

    Hi

    I am new to VBA and need some assistance with an error in the code

    I have set up a workbook with 6 worksheets

    1st Worksheet i have Menu which is where i will store my buttons to open each user form as listed below
    2nd Worksheet is named summary as this is where i will store totals from the other worksheets
    3rd Worksheet is named Suppliers
    4th Worksheet is named Hours
    5th Worksheet is named Contractors
    and so goes on the list
    I am able to click on the menu tab and the click on the materials button which pops up the user form and can enter data into the form but it wont insert data

    In the code it comes up with a debug error 1004 and highlights the following code
    Please Login or Register  to view this content.
    I hope some one can point me in the right direction as once i get this form right i will repeat on the other worksheets

    I have included my spreadsheet if you need to see what i have done
    Attached Files Attached Files
    Last edited by romperstomper; 10-04-2010 at 09:05 AM. Reason: tags

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: UserForm Code Error

    x1Up should be XLUP rather than X1UP (second character is 'L' not the number one.)
    Remember what the dormouse said
    Feed your head

+ 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