![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
I have a single sheet workbook that has just a couple of basic macros to save and export to CSV. I don't want anyone to be able to view or modify these macros but when I try to protect them by locking the project it causes a runtime error 1004.
Any Ideas |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
|
are you protecting the macros?
or the worksheets? to protect the macros go to vba project properties |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 758
|
I am trying to prevent access to the VB code
ie when you press Alt-F11 then click on the project, I don't want it to display anything other than the password entry box |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|