+ Reply to Thread
Results 1 to 3 of 3

Workbook Variable

  1. #1

    Workbook Variable

    Typically I would just run through the help menu for this, but our VBA
    program at work doesn't have it, so hopefully this is a simple enough
    question:

    Is there a way to set a variable as the name of the currently open
    workbook/file?


  2. #2
    Andrew Taylor
    Guest

    Re: Workbook Variable


    Dim wb As Workbook
    Set wb = ActiveWorkbook


    [email protected] wrote:
    > Typically I would just run through the help menu for this, but our VBA
    > program at work doesn't have it, so hopefully this is a simple enough
    > question:
    >
    > Is there a way to set a variable as the name of the currently open
    > workbook/file?



  3. #3

    Re: Workbook Variable

    Brilliantly easy, i just didn't have the know-how. Thanks much for the
    help.

    Andrew Taylor wrote:
    > Dim wb As Workbook
    > Set wb = ActiveWorkbook
    >
    >
    > [email protected] wrote:
    > > Typically I would just run through the help menu for this, but our VBA
    > > program at work doesn't have it, so hopefully this is a simple enough
    > > question:
    > >
    > > Is there a way to set a variable as the name of the currently open
    > > workbook/file?



+ 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