The title is a bit misleading, because the following function will execute once:
[VBA]Function ShowCellFormat(CellAddr As String) As String 'Displays the number format string for the specified cell
ShowCellFormat = Range(CellAddr).NumberFormat
End Function[/VBA]
On the worksheet I have the following formula:
=ShowCellFormat("H4")
This is a nifty function when developing weird format code strings. When it executes, it displays the format string that has been assigned to the specified cell.
My problem is getting it to execute each time I change the format on cell "H4". I'm sure it's tied to the Volatile thing, but I can't seem to coax the system into doing a recalculate each time I change the format.
(Also, if the Preview is working, I can't make the "VBA" to work.)