wordpress statistics
  • Today is Monday, October 28, 2013

2 Responses to “Saving Report Pages as separate PDF Files”

  1. tnewtona says:

    Question: What if I have a distinct source file with user names (txt)? I would like to loop through that file and print a report for each user. I followed your logic, but fail to grasp what I need to modify to equate the start and end #

  2. a.p.r.pillai says:

    If the User-Names are part of the data then you can modify the code as follows:

    Open “C:\FolderName\param.txt” For Input As #1
    Do While Not EOF(1)
    ‘get the User Name
    Input #1, strName
    If len(trim(strName))> 0 Then
    .
    .
    .
    .
    End if
    Loop
    Close #1

Leave a Reply

You must be logged in to post a comment.