Hi Glenn,
I didn't entertain the COLUMN() worksheet function because the OP indicated it didn't work for his purposes and seemed to want a UDF, perhaps to do more than what was detailed. I started from the assumption of a UDF that needed to be able to detect the current cell it was in, but I went all flaky there for a bit (for which PHV provided the reality check). Combo's code allows the UDF to do this. I really don't know what the OP needs this function to do and he hasn't posted lately, but he'd be the one to ask.
Regards,
Mike