+ Reply to Thread
Results 1 to 4 of 4

Help updating a macro to 2013

  1. #1
    Registered User
    Join Date
    11-08-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Help updating a macro to 2013

    Hello,

    (Insert obligatory disclaimer regarding how little I know about VBA here)

    We have a macro that we have been using for a few years that makes worksheets for every day of the month based on a prompt. Basically, we need to update it to work for 2013.

    When entering the numeric value of the month in the prompt, it will only build out the sheets based on current year. I tried going in and changing the "Now" to 2013, but I am afraid that is not how this stuff works, since it did not fix it.

    Here is the code:

    Please Login or Register  to view this content.
    Can anyone help?
    Last edited by Cutter; 09-19-2012 at 05:18 PM. Reason: Added code tags

  2. #2
    Forum Contributor
    Join Date
    03-15-2007
    Location
    AL, USA
    MS-Off Ver
    2007
    Posts
    174

    Re: Help updating a macro to 2013

    First, please edit your post an put code tags around your code.

    Second, this code looks for the year based on today's date. If you want to look ahead, you can simply replace
    Please Login or Register  to view this content.
    with
    Please Login or Register  to view this content.
    This should give you next year's dates.

  3. #3
    Registered User
    Join Date
    11-08-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Help updating a macro to 2013

    Sorry, and thanks!

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Help updating a macro to 2013

    @ roachiepie

    You were asked (in post #2) to edit your first post to apply code tags but you did not do that. It's against forum rules to omit the tags and also to ignore requests such as the one made in post #2. I have added the tags for you this time but please remember to add them yourself in any future posts you make. You can find instructions on how to apply them in rule #3 (by clicking Forum Rules button at the top of the page).
    Thanks

    Also, based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Finally, as an infrequent user of the forum, you may have forgotten (or may not be aware) that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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