+ Reply to Thread
Results 1 to 3 of 3

Need macro to update a number field each I print a form

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    NJ
    MS-Off Ver
    Excel 2007
    Posts
    6

    Need macro to update a number field each I print a form

    I could really use some help with a macro. I'd like for the Batch number field in the attached worksheet to update with the next sequential number in Column M each time the form is printed. Don't know if it would also be possible to specify the number of printouts in the macro?

    Thank you to anyone who could provide some assistance. I have no knowledge of VBA. Also, can anyone suggest a good book to learn VBA for Excel / Access?

    Thanks,
    Erick
    Attached Files Attached Files

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Need macro to update a number field each I print a form

    If cell D4 contians the number of prins:

    Please Login or Register  to view this content.



  3. #3
    Registered User
    Join Date
    02-28-2012
    Location
    NJ
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Need macro to update a number field each I print a form

    Sorry. This is not what I'm looking for. I need cell G9 (Batch Number) to start with the first number in Column M for my first printout and for each copy that is printed, cell G9 needs to update with the next sequential number in Column M so that each printout has a sequential batch number.

+ 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