+ Reply to Thread
Results 1 to 3 of 3

Dynamic Workbook Name

  1. #1
    Registered User
    Join Date
    03-12-2008
    Posts
    12

    Dynamic Workbook Name

    Hi All,

    Very basic user here. Quick question, I have some VBA code the currently select workbook xyz.xls, runs its course and everything is fine. My question is, I want to be as to take my overall xyz.xls workbook, save as abc.xls and when I reopen abc, have the macro update abc instead of xyz. So basically is there a way to tell the macro to select "current workbook" instead of the original xyz? Thanks for any suggestions.

    If need be I'm happy to post the code I have so far.

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    Look at ThisWorkbook and ActiveWorkbook

  3. #3
    Registered User
    Join Date
    03-12-2008
    Posts
    12
    ThisWorkbook worked great, thanks so much.

+ 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