+ Reply to Thread
Results 1 to 4 of 4

macro to generate SRV slip Till last no.

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    macro to generate SRV slip Till last no.

    Hi,
    I am facing problem to put each time SRV no. in "H6" to generate SRV slip and print out.
    I don't know how to put some code in the existing macro so that it can automatically generate the SRV of till the last SRV found in data register sheet. Suppose i enter in cell "H6" 1125 and click on button then it only generates single SRV but what i want is it generate SRV from No. 1125 to 1145 as 1145 is last SRV no. in "Data Register sheet". But all SRVs should be saved underneath previous one in same sheet.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: macro to generate SRV slip Till last no.

    Hi amarjeet.it

    Will your SRV Numbers ALWAYS be numbered sequentially?

    Nevermind...I see they're not...
    Last edited by jaslake; 11-25-2013 at 05:31 PM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: macro to generate SRV slip Till last no.

    Hi amarjeet.it

    Try the Code in the attached...it appears to do as you require...
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,943

    Re: macro to generate SRV slip Till last no.

    solution deleted - bvj 11/2913!
    Last edited by protonLeah; 11-29-2013 at 04:43 PM.
    Ben Van Johnson

+ 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. Macro doesn't run till the end
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2013, 07:13 AM
  2. Replies: 8
    Last Post: 05-11-2013, 07:00 PM
  3. [SOLVED] I want to make a packing slip with macro enabled drop downs in the Item # column.
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 10-10-2012, 10:18 AM
  4. How to generate Pay Slip of all Employees
    By koolguys4u in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-23-2010, 02:45 PM
  5. using data till till the current row
    By nilu8603 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2010, 04:30 AM

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