![]() |
wsname value of range name
I have this formula
Worksheets("Master (2)").Name = Worksheets("Master (2)").Range("month").value the result is 38838 which is the numerical value of the date - what I need is the either mmm-yy value of the Range("month").value in other words, I would like the worksheetname to be: May or May 06 can anyone help? |
wsname value of range name
Hello
Use Format: Format(Worksheets("Master (2)").Range("month").value,"mmm-yy") HTH Cordially Pascal "Helmut" a écrit dans le message de news: ... I have this formula Worksheets("Master (2)").Name = Worksheets("Master (2)").Range("month").value the result is 38838 which is the numerical value of the date - what I need is the either mmm-yy value of the Range("month").value in other words, I would like the worksheetname to be: May or May 06 can anyone help? |
wsname value of range name
I get compile error: expected =
"papou" wrote: Hello Use Format: Format(Worksheets("Master (2)").Range("month").value,"mmm-yy") HTH Cordially Pascal "Helmut" a écrit dans le message de news: ... I have this formula Worksheets("Master (2)").Name = Worksheets("Master (2)").Range("month").value the result is 38838 which is the numerical value of the date - what I need is the either mmm-yy value of the Range("month").value in other words, I would like the worksheetname to be: May or May 06 can anyone help? |
All times are GMT +1. The time now is 11:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com