+ Reply to Thread
Results 1 to 2 of 2

Numberformat macro partially works, color changes, dateformat not

  1. #1
    Registered User
    Join Date
    05-28-2015
    Location
    netherlands
    MS-Off Ver
    2013
    Posts
    1

    Numberformat macro partially works, color changes, dateformat not

    My macro does set a format but doesn't apply it.
    When ik select the cell after running the macro and click in it, or press F2, than the format is applied.

    I have a range of dates like f.i. 24-4-2015 and want to change it to 24-apr. I made the following macro

    Please Login or Register  to view this content.
    The dates turn red immediatly, but for applying the date format i need to click each cell.

    What am i missing?
    Any help is appreciated

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Numberformat macro partially works, color changes, dateformat not

    IF you change the format that you have to 04-24-2015 instead of 24-04-2015, it changes it to 24-May when the code is run.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 07-10-2014, 08:11 PM
  2. [SOLVED] Macro only partially works.
    By VectorW2 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-02-2014, 04:08 PM
  3. Replies: 11
    Last Post: 08-31-2010, 01:30 PM
  4. Formula Partially Works, Please Help
    By Joe Gieder in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-02-2006, 06:15 PM
  5. [SOLVED] Dateformat
    By Kjeldc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2005, 05:06 PM

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