I want to create a COM add-in for excel 2007, and the add-in will only exposes a series of User define functions (UDF), no Sub.

I found this http://msdn.microsoft.com/en-us/library/bb608614.aspx in msdn, but it show how to expose the Sub, not function, any ideas how to do it only for the UDF?