ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   month to number (https://www.excelbanter.com/excel-programming/274973-re-month-number.html)

losmac

month to number
 
Try this:
MsgBox Month(CDate("01-sty-2003"))

Uzytkownik "_______Tim_______" napisal w wiadomosci
...
Hi,

Can you show me how to write a macro to convert a three
place month abreviation, Jan, Feb, Mar, etc., in column Y
into a number, 1, 2, 3, etc., in column AF?

Thank You.

Regards, Tim





All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com