+ Reply to Thread
Results 1 to 6 of 6

Data Entry Problem

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    Lancaster
    MS-Off Ver
    Excel 2007
    Posts
    3

    Data Entry Problem

    Hi

    I'm a newby to VBA and am having problems with a line of code.. its a data entry form
    and I have this line of code finding the next available row returning a fault message. (Runtime error 424 Object required)

    erow=PriceList.Cells(Rows.Count,1).End(x1Up).Offset(1,0).Row

    I also perform calculations on the data once entered into the spreadsheet.. can anyone suggest a line of code
    that will format the next free line with my calculations before the data is entered ?

    If someone has simple input and extract data forms I can adapt that would be great.

    Thanks in advance.
    Last edited by APMercer; 02-11-2014 at 05:13 AM.

  2. #2
    Registered User
    Join Date
    12-16-2013
    Location
    London, England
    MS-Off Ver
    MSO 2010
    Posts
    52

    Re: Data Entry Problem

    Please can you upload an example document with all personal information removed.

    I have been working on a similar project myself and may be able to assist.

  3. #3
    Registered User
    Join Date
    02-10-2014
    Location
    Lancaster
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Data Entry Problem

    Thanks for the rapid response.

    I've uploaded a page with the code I am having problems with and a sample of the data.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-16-2013
    Location
    London, England
    MS-Off Ver
    MSO 2010
    Posts
    52

    Re: Data Entry Problem

    This is the code i use for a similar project, a live excel version would be much more beneficial for me to help you though instead of a word document, not much help.

    Rename the userform to whatever yours is called and then change the sheet name to your sheet, amend the range values.

    This formula will insert data into a new sheet called "amends" it will find the next available row, starting it's search at A, it will then enter the data into the relevant column, of that row as per specific below. The data is input from a Form on a seperate sheet (userform1) My data is pulled from a variety of text boxs, combo boxs and such, see below.


    Please Login or Register  to view this content.

    Hope this helps in some way.

    Mike

  5. #5
    Registered User
    Join Date
    02-10-2014
    Location
    Lancaster
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Data Entry Problem

    I kept getting file too large when I tried uploading the file. I figured there were restrictions on file size to prevent anything other than the simplest files. I'll give it and go and let you know how I get on .

    With regards to handling the data if I wanted multiple options of the same product would you enter each variant as a new line or create the options (widths in my file) as options on the same row/entry.

    Thanks for your help

    Andy
    Last edited by APMercer; 02-13-2014 at 05:27 PM.

  6. #6
    Registered User
    Join Date
    12-16-2013
    Location
    London, England
    MS-Off Ver
    MSO 2010
    Posts
    52

    Re: Data Entry Problem

    I would create each option as a NEW line variant.

+ 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] VBA Data Entry Form Problem
    By samdegg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2013, 04:02 AM
  2. Simple Data Entry Problem
    By L.C.Fitness in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2008, 08:14 PM
  3. Data Entry and Display problem
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2006, 01:25 PM
  4. [SOLVED] Data Entry problem
    By Bob Shepard in forum Excel General
    Replies: 1
    Last Post: 11-09-2005, 10:01 PM
  5. [SOLVED] RE: Data Entry problem
    By Ray A in forum Excel General
    Replies: 0
    Last Post: 11-09-2005, 08:35 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