Using Excel 2003.
To determine a cells data type format I have defined a worksheet name as 'CellFormat' with 'Refers to:' =GET.CELL(7,INDIRECT("rc[-1]",FALSE))
Problem is that now I get a second enable macro message when the workbook opens (Workbook contains Excel 4 macros ... disable/enable).
Is there a more current formula that will not trigger the macro warning message but still achieves the same thing?
I did try a UDF with Cell.NumberFormat which returned a slightly different format with days and months of dates switched around.
I also had a question about date formats. Wondering why the same date in two different cells can be either in General format (left aligned) or in Date format (right aligned) and is still displayed as a date? When the date is in General format my formula to test if it is the last day of the month and in a year range does not work.
Thanks in advance
To determine a cells data type format I have defined a worksheet name as 'CellFormat' with 'Refers to:' =GET.CELL(7,INDIRECT("rc[-1]",FALSE))
Problem is that now I get a second enable macro message when the workbook opens (Workbook contains Excel 4 macros ... disable/enable).
Is there a more current formula that will not trigger the macro warning message but still achieves the same thing?
I did try a UDF with Cell.NumberFormat which returned a slightly different format with days and months of dates switched around.
I also had a question about date formats. Wondering why the same date in two different cells can be either in General format (left aligned) or in Date format (right aligned) and is still displayed as a date? When the date is in General format my formula to test if it is the last day of the month and in a year range does not work.
Thanks in advance