I think we need VBA to do this but: I need everything in column A to become a date following the number of the sheet.
i have 12 sheets named jan - fev - mar - abr ..... - dez (names of the month in portuguese) In sheet "jan" i need everything that is typed on column A to become a date of month 01, like :
I type 5 in a15, it becomes 05/01/2024 (day/month/year) If i type 12 in a17 on sheet abr(april) it becomes 12/04/2024 but i can't figure out how!
I already tried using chat gpt vba but it doesnt work.
Enter the following code into the
ThisWorkbook
code sheet:Note: Code edited to test that worksheet is a Month sheet.