Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Excel VBA

Options
  • 25-05-2007 9:35am
    #1
    Registered Users Posts: 542 ✭✭✭


    Hi, using VBA code, im printing pages from a file on my local drive. When it prints I want it to show the filepath at the end of the file. How do i go about this?


Comments

  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    Me.FullName
    


  • Closed Accounts Posts: 82 ✭✭cyberbob


    this might be what you're looking for
    ActiveSheet.PageSetup.LeftFooter = ActiveWorkbook.FullName
    


Advertisement