+ Reply to Thread
Results 1 to 3 of 3

Help with a counter

  1. #1
    Registered User
    Join Date
    08-16-2007
    Posts
    2

    Help with a counter

    I am trying to complete a macro and user form combination. The purpose of the macro is the entry of numbers in to a spread sheet from the userform control buttons. Have got the data to enter on to the sheet from the user form and then select the next cell for entry. There are 6 entrys requred before moving to the next row (following a prompt box to move to the next row) I am trying to encorporate a button to allow an entry to be re entered because of an error the macro will move back when the re-enter control button is pressed but the count is not altered and thus I don't get 6 entries.

    The code I am using for the main macro is:-

    Please Login or Register  to view this content.
    The code for the controlbutton (re-enter button) is:

    Please Login or Register  to view this content.
    Can anyone help? (if you understand what I mean)
    Last edited by Nivag; 08-17-2007 at 03:36 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    read the Forum Rules & wrap your code with Code Tags.

    Your code seems a complicated way of doing this, take a look at the DatabaseForm example here

    http://www.excel-it.com/vba_examples.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-16-2007
    Posts
    2
    sorry about not wrapping up the code have done this now.

    This is the first VBA programming I have done thus may have gone round it in a complex way. Have tried to have a look at the example on the web page suggested but our fire wall is tight and will not let zip or exe files through. Can you help further.

    The whole sheet works at the moment but I just can't get the re enter button to take one digit off the count it's very frustrating
    .

+ 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