+ Reply to Thread
Results 1 to 3 of 3

Extracting characters from a work book filename

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Extracting characters from a work book filename

    Hi All,

    I am trying to extract 2 characters from a workbook when running a code:

    I have this so far:

    Please Login or Register  to view this content.
    The format of the book name is:

    Team Install Report Week 30
    Team Install Report Week 31 etc, so it returns 30, 31 etc.

    When the workbook is named :
    "Team Install Report Week 09", I only want to return 9, but I thing with the "0", "" is where I am going wrong. Can anyone offerup any assistance?

    Thanks
    John

  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: Extracting characters from a work book filename

    Does this help?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Re: Extracting characters from a work book filename

    I have now done this like this:

    Please Login or Register  to view this content.

+ 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. Hyperlink within work book (without using book name)
    By raze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2013, 12:49 AM
  2. Create PDF files from multiple work sheets in a single work book
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2012, 03:42 AM
  3. Replies: 2
    Last Post: 06-20-2012, 05:10 AM
  4. Extract data into a master work book by accessing various input work sheets/workbooks
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2011, 05:10 PM
  5. Insert work book in another work book
    By aromaveda in forum Excel General
    Replies: 7
    Last Post: 01-11-2011, 02:33 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