ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Worksheet function in excel only works once (https://www.excelbanter.com/excel-worksheet-functions/37278-worksheet-function-excel-only-works-once.html)

Divertor Chris

Worksheet function in excel only works once
 
I have successfuly written a worksheet function in Excel using VBA. However
when I return to the spreadsheet after saving it, the function no longer
works. I receive an error message from visual basic which says that the
macros are deactivated, but gives no clue how to reactivate them.

Niek Otten

Examine your settings at ToolsOptionsSecurity tab, Macro security. That is
the path in Excel 2003, it may be different in other versions.

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Divertor Chris" <Divertor wrote in message
...
I have successfuly written a worksheet function in Excel using VBA. However
when I return to the spreadsheet after saving it, the function no longer
works. I receive an error message from visual basic which says that the
macros are deactivated, but gives no clue how to reactivate them.





All times are GMT +1. The time now is 08:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com