select the first line in the function and press F9 to set a breakpoint
Then go to the Excel screen and cause a calculation that calls the the UDF
Charles
______________________
Decision Models
FastExcel 2.3 now available
Name Manager 4.0 now available
www.DecisionModels.com
"Kieranz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
> I have written a user defined function but when i go to VBE and press
> F8 to step thru the code it does not work. I have gone on many
> websites but most seem to show you how to create, not after... like
> debug. Any help or website referral appreciated. Thks.
> Rgds
> KZ
>