-
Private Function problem
I have a user-defined function that is located within a workbook that starts with Private Function. For some reason, if the workbook is open and I try to run other macros, either in the same or another workbook, they always seem to jump into this function, causing everything to lock up until I hit the Esc key. What am I doing wrong or forgetting to do?
-
Functions will recalculate on every change. Try setting Calculation the Manual, then resetting to Automatic at the end of your sub.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules