+ Reply to Thread
Results 1 to 2 of 2

Print payslip as pdf and save filename based on a cell value

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    PH
    MS-Off Ver
    2013
    Posts
    31

    Print payslip as pdf and save filename based on a cell value

    Need help to correct my code:

    Please Login or Register  to view this content.
    this code prints a payslip to a pdf and automatic filename based on a cell value.

    the problem is, the first generated file is fine but after the next loop it overwrites the first generated file. so the payslip content does not match the filename.


    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    10-19-2012
    Location
    chennai
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: Print payslip as pdf and save filename based on a cell value

    Hi,

    Check the range declared as b8 buy increment of the cell value the issue will solved.

    Rajan

+ 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. Replies: 5
    Last Post: 09-13-2012, 09:49 AM
  2. [SOLVED] Macro to save single worksheet as PDF. Filename based on cell.
    By adam.hewitt5 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-23-2012, 05:21 PM
  3. How to save as filename derived from a cell, and print 2 copies?
    By vettenfun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2011, 11:02 AM
  4. macro to print "save as PDF" with filename from cell
    By Eboof in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-03-2010, 08:14 AM
  5. Macro to Save As with filename based on cell contents.
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2006, 06:10 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