+ Reply to Thread
Results 1 to 10 of 10

Auto fill week days based on month chosen

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Question Auto fill week days based on month chosen

    Hi,
    I want my spreadsheet to auto fill my weekdays down the row based on the month and year chosen.
    Can someone help me???
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/2010
    Posts
    86

    Re: Auto fill week days based on month chosen

    Try
    Please Login or Register  to view this content.
    Boon

  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Auto fill week days based on month chosen

    It worked beautifullly! It was just what I was looking for.
    Thank you so much!

    -MT

  4. #4
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Auto fill week days based on month chosen

    Boon,
    I want to thank you for helping me with my spreadsheet. The macro you gave me worked, however, when I chose one month then chose a month after that (with less days), it leaves the excess days from the previous month in the cells at the bottom. For example: I chose January 2013 then I changed it to March 2013... in my row it shows .....March 28. March 29. January 30. January 31.... How do i make it not show that without asking a user to reset the form each time?

  5. #5
    Registered User
    Join Date
    07-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/2010
    Posts
    86

    Re: Auto fill week days based on month chosen

    There you go~
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Auto fill week days based on month chosen

    hmm... that didn't do it. I'm new to macros. I used this new code in place of the first code you gave me. is that right? When i did that it performs exactly like the first code you gave me. Is there a way i can attach the updated spreadsheet so you can see it? I appreciate all that you have already helped me with. You really did help me tremendously!!!! I just dont want the user of this form to get confused as to why the months at the bottom show differently.
    Thank you Boon!

    -MT

  7. #7
    Registered User
    Join Date
    07-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/2010
    Posts
    86

    Re: Auto fill week days based on month chosen

    it would be great if u can attach the file

  8. #8
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Smile Re: Auto fill week days based on month chosen

    figured out how to attach it. Here it is!

    Thank you,

    MT
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/2010
    Posts
    86

    Re: Auto fill week days based on month chosen

    Please Login or Register  to view this content.
    Edit: Added application.enableevents
    Last edited by bheanloh; 11-14-2012 at 01:21 PM.

  10. #10
    Registered User
    Join Date
    11-12-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Auto fill week days based on month chosen

    That worked! good deal! thank you again so much Boon!

    -MT

+ 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