+ Reply to Thread
Results 1 to 3 of 3

Recorded Macro changing date format

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    73

    Recorded Macro changing date format

    Hello,

    I recorded as simple macro to help with the formatting of a report. The result is changing the format of columns B and H. I need B and H to stay in date format. What am I doing wrong? Thanks


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Recorded Macro changing date format

    Hi, cindywylie,

    the line
    Please Login or Register  to view this content.
    will select the entire range vbetween Column A and Column L (at least on my Excel2013) and will change teh format on Column B.

    Please Login or Register  to view this content.
    should do better.

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    08-15-2012
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    73

    Re: Recorded Macro changing date format

    Thanks HaHoBe! It's exactly what I need. I always learn something here.

+ 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. Macro changing date format when doing find and replace
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2013, 08:16 PM
  2. [SOLVED] Recorded Pivot Table Macro Doesn't Do What I Recorded!
    By diakonos1984 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2013, 11:01 AM
  3. [SOLVED] Recorded Macro to Copy Format
    By Lilbit in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2006, 05:45 PM
  4. [SOLVED] changing date format by macro in excel2000
    By רוזנט in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-27-2005, 08:05 AM
  5. changing a recorded macro - date problem....
    By Daan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2005, 12:05 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