+ Reply to Thread
Results 1 to 2 of 2

Thread: Windows Activate

  1. #1
    Registered User
    Join Date
    07-25-2011
    Location
    PA, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Windows Activate

    Windows("06 11 299805 All Companies JRNL Bal Errors Claims.xlsx").Activate

    Is there a way to get around so that the above file name can be changed automatically? For example, The file name will be changed monthtly to reflect the current month (IE, 06 11 to 07 11). Somehow I want to put a formula so that it picks up the new file name automatically. Any suggestions? Thanks.

  2. #2
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: Windows Activate

    If it will always be the current month, you could do this:

    Windows(Format(Date,"mm yy") & " 299805 All Companies JRNL Bal Errors Claims.xlsx").Activate
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ 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.2.0