Knowledge Base/C Sharp/User Defined Functions

From Thalesians
Jump to: navigation, search

Debugging Excel automation add-ins

Make sure you are running Excel and that your add-in is accessible. In Visual Studio, select Debug > Attach to Process... In the list of Available Processes select EXCEL.EXE which is running your workbook. Click on Attach. You are now debugging your add-in. Create some breakpoints in your custom Excel functions code and see what happens.

Personal tools