Results 1 to 7 of 7

Setting a workbook name as a variable...

Threaded View

  1. #1
    Registered User
    Join Date
    01-25-2005
    Posts
    4

    Question Setting a workbook name as a variable...

    OK--

    I have two workbooks. The first workbook contains information that is copied to the second workbook. I then wish to go back to the first workbook and close it (and then repeat this process with additional workbooks' contents being copied to the second workbook). Should be simple...


    Windows("Workbook1").Activate
    ActiveWorkbook.Close



    HOWEVER-- there are the following restrictions:

    *The name of the first workbook changes daily at random.

    *The first workbook is a nonExcel document that opens via Import Wizard & is never saved while it's open.

    *This process should run without user interference - i.e., no forms that require the name of workbook being typed in by the user.

    Any ideas? Many thanks in advance.


    *
    Last edited by apeface76; 01-25-2005 at 04:44 PM. Reason: clarification

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