Use VBA code in a locked worksheet
I am using Excel 365 64-bit, and am a novice with VBA. I've created an Excel file with charts in which the minimal X-axis values vary widely based on input values. I have copied and pasted VBA code that auto adjusts the vertical minimal values, but when I protect the worksheet where the graphs are located, the VBA function no longer works. Is it possible to include VBA code in a locked worksheet? Thanks!
1 Attachment(s)
Use VBA code in a locked worksheet
Quote:
Originally Posted by
Paul_Hossler
Without seeing the macro (at least) it's hard to tell
Attach a small workbook with the chart and the macro to this thread (how to in my sig)
Attached is the unlocked file. The charts are in the "Inputs and Summary" worksheet.
Thanks!