+ Reply to Thread
Results 1 to 2 of 2

Inserting path, filename and page number for every tab in the worksheet with just a click.

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    singapore
    MS-Off Ver
    2010
    Posts
    1

    Question Inserting path, filename and page number for every tab in the worksheet with just a click.

    Hi everyone,

    I have a tiny little excel problem here. I used to have this laptop where my boss inserted an icon right next to the "save" button near the top left hand corner. What it does is that it inserts a footer with the entire path "eg: C:/documents/myexcelfile/randomfile" into the file along with the page number for every tab in the worksheet.

    I seem to recall he used some macro commands to create the additional "button". Can anyone advise me on how that can be done?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Inserting path, filename and page number for every tab in the worksheet with just a cl

    Take a look at the Environ() Function.

+ 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. find filename in path regardless of number of subfolders
    By txguyg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2014, 10:16 AM
  2. [SOLVED] How to extract filename from path\filename
    By mpan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2013, 11:23 PM
  3. Replies: 3
    Last Post: 07-09-2012, 03:09 PM
  4. Find filename, path, document size, filename length and path length?
    By Laneyboggs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2010, 08:01 PM
  5. Inserting page number & page count in cells
    By Jeff in forum Excel General
    Replies: 0
    Last Post: 05-02-2005, 04:06 PM

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