Results 1 to 37 of 37

userform with looping code

Threaded View

00Able userform with looping code 02-02-2011, 09:43 PM
Marcol Re: userform with looping code 02-02-2011, 09:53 PM
00Able Re: userform with looping code 02-02-2011, 10:40 PM
pike Re: userform with looping code 02-03-2011, 07:21 AM
Marcol Re: userform with looping code 02-03-2011, 09:30 AM
00Able Re: userform with looping code 02-03-2011, 08:18 PM
pike Re: userform with looping code 02-03-2011, 11:54 PM
00Able Re: userform with looping code 02-04-2011, 07:27 AM
Marcol Re: userform with looping code 02-04-2011, 09:01 AM
00Able Re: userform with looping code 02-05-2011, 10:40 AM
Marcol Re: userform with looping code 02-05-2011, 11:27 AM
00Able Re: userform with looping code 02-06-2011, 02:54 PM
Marcol Re: userform with looping code 02-06-2011, 03:48 PM
00Able Re: userform with looping code 02-06-2011, 05:20 PM
Marcol Re: userform with looping code 02-08-2011, 10:14 AM
00Able Re: userform with looping code 02-09-2011, 09:17 PM
Marcol Re: userform with looping code 02-09-2011, 09:56 PM
00Able Re: userform with looping code 02-10-2011, 09:11 PM
Marcol Re: userform with looping code 02-11-2011, 01:02 PM
00Able Re: userform with looping code 02-12-2011, 02:04 PM
00Able Re: userform with looping code 02-13-2011, 04:39 PM
Marcol Re: userform with looping code 02-17-2011, 01:37 PM
00Able Re: userform with looping code 02-18-2011, 06:39 AM
00Able Re: userform with looping code 02-18-2011, 08:12 PM
Marcol Re: userform with looping code 02-19-2011, 11:24 AM
00Able Re: userform with looping code 02-19-2011, 09:25 PM
00Able Re: userform with looping code 02-19-2011, 11:09 PM
Marcol Re: userform with looping code 02-20-2011, 04:47 AM
00Able Re: userform with looping code 02-20-2011, 10:49 AM
Marcol Re: userform with looping code 02-20-2011, 12:35 PM
00Able Re: userform with looping code 02-20-2011, 02:49 PM
Marcol Re: userform with looping code 02-20-2011, 03:59 PM
00Able Re: userform with looping code 02-20-2011, 06:14 PM
Marcol Re: userform with looping code 02-20-2011, 08:32 PM
00Able Re: userform with looping code 02-20-2011, 08:55 PM
pike Re: userform with looping code 02-22-2011, 05:25 AM
00Able Re: userform with looping code 02-22-2011, 09:10 PM
  1. #15
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: userform with looping code

    Okay, try this, it's a bit faster than the old code.

    With sheet "User Form Data"
    1/. If you want to use earlier data as a template select a date from the dropdown in B40, otherwise leave blank.

    2/. Click on D40 to get the userform, if you are using a template you will be prompted to confirm.

    3/. Remember to change the Date to a value that is not already used before entering a new order, otherwise the data will be confused and return the first instance of any line for that date.

    This weakness can easily be cured but first we need to know.
    1/. Can there be more than one order in any one date?

    2/. If so, how do we identify each entry?
    A unique Order Number auto-generated is the easiest way, but you may have numbers issued from a different source, again, if so what are they like, and where would you enter them in the UserForm and the Log?

    As I said in Post #9 you must be careful not to change the names for the controls and their position on the form.

    Your Labels for "Line ##" are out of sequence, they must be ordered by their name, not the caption. The label you are using for "Date" is Label6 this label should be renamed, say LblDate, and your Labels for "Line ##" should be renamed in sequence Label1, Label2....etc top to bottom, read Post #9 again.

    I haven't looked at the rest of your new file yet, lets get this stage sorted first.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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