+ Reply to Thread
Results 1 to 3 of 3

Dim statement for date month

  1. #1
    Registered User
    Join Date
    07-28-2009
    Location
    Chicago, Il
    MS-Off Ver
    Excel 2007
    Posts
    67

    Dim statement for date month

    I have a macro that pulls another workbook and the workbook changes the name from month to month. how can i use a dim statement that says use the current month and look for that months workbook

    The format of the workbook is
    "call off log Sept 2009"
    "call off log Oct 2009
    "call off log Nov 2009" ETC.

    any ideas

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Dim statement for date month

    No dim necessary

    Please Login or Register  to view this content.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Dim statement for date month

    I don't know what your trying to do, but to form a string like that
    Please Login or Register  to view this content.
    You would have to name the workbooks consistently, e.g, call off log Sep 2009, not call off log Sept 2009
    Entia non sunt multiplicanda sine necessitate

+ 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