+ Reply to Thread
Results 1 to 4 of 4

Need macro that will update a sequential number field each time I print a form

Hybrid View

eradline Need macro that will update a... 02-29-2012, 08:59 PM
davesexcel Re: Need macro that will... 02-29-2012, 09:11 PM
jetted Re: Need macro that will... 03-01-2012, 09:48 AM
eradline Re: Need macro that will... 03-01-2012, 05:55 PM
  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    NJ
    MS-Off Ver
    Excel 2007
    Posts
    6

    Need macro that will update a sequential number field each time I print a form

    Hello All,

    I am new here and need some help as I do not know VBA. I have a basic template form that has a "batch number" field. My dept uses a lot of these forms so I need a macro that will print the form and then upate the batch number field with the next number that is listed in another column and then print again. It would also be helpful if I could specify how many copies I would like to print.

    Any help would be greatly appreciated.

    I have attached the basic form.

    Thank you!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Need macro that will update a sequential number field each time I print a form

    There is no attachment.

  3. #3
    Valued Forum Contributor
    Join Date
    12-16-2004
    Location
    Canada, Quebec
    Posts
    363

    Re: Need macro that will update a sequential number field each time I print a form

    Hi

    You will get a faster response if you attached a copy of your worksheets.

    Thank
    Denis

    Please always attach the sample workbook without sensitive information when asking for help

    To add a module
    Press Alt + F11 (this is the Visual Basic Environment)
    Insert Menu, select Module
    Past code there
    Close Visual Basic Environment (X)

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

    Re: Need macro that will update a sequential number field each time I print a form

    Sorry about that. Attached is the basic worksheet. I'd like for the Batch number field 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?
    Attached Files Attached Files

+ 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