+ Reply to Thread
Results 1 to 3 of 3

Checking workbook filename?

  1. #1
    Registered User
    Join Date
    06-09-2012
    Location
    Great Britain
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Checking workbook filename?

    Hello guys, is there any way for VBA to check the filename is a certain name, and not continue a macro unless it is a specific name?

    Kind of like this...
    Please Login or Register  to view this content.
    Is this possible and easy to do? Thank you in advance for any help or tips.
    Last edited by ByPublicDemand; 06-09-2012 at 06:42 AM.

  2. #2
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Checking workbook filename?

    Try like this

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-14-2008
    Posts
    153

    Re: Checking workbook filename?

    Test for ThisWorkbook.FullName
    Welcome to: http://www.exceldigest.com/myblog/
    "Excel help for the rest of us"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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