Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What are the Pros/Cons of having users select Trust the VBA Project?
Thanks, Barb Reinhardt |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If they want to run macros in VBA then they have to check the box. If they
never intend to use VBA then they don't need to check the box. Pro they can use it. Con they can't. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That's not right.
Trust to the VBA Project allows the user to run programs that would add/delete/change/read code. It's got nothing to do with the user running macros. JLGWhiz wrote: If they want to run macros in VBA then they have to check the box. If they never intend to use VBA then they don't need to check the box. Pro they can use it. Con they can't. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Dave, I may not have chosen my words very well it the first posting.
Since I have always had my access to VBA turned on, I have not thought much about what life would be like without it. But, I do remember when I first fired up my xl2003, it was not on and I could not open the VBE until I checked the box. However, it makes sense the macros will run without the box being checked, but the only way I can think of that they would be available to run is from a downloaded or imported workbook that already contained the macro. If that is not the case, I would appreciate some enlightenment. "Dave Peterson" wrote: That's not right. Trust to the VBA Project allows the user to run programs that would add/delete/change/read code. It's got nothing to do with the user running macros. JLGWhiz wrote: If they want to run macros in VBA then they have to check the box. If they never intend to use VBA then they don't need to check the box. Pro they can use it. Con they can't. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try a test.
Turn off that option. Create a workbook with a simple macro. Save the workbook and close and reopen excel and that workbook. Your macro will run ok--well, unless your simple macro tries to do something that accesses a project. And I'm guessing that you have a shortcut key (not built into excel) that would open the VBE. And that stopped you from getting to the VBE to create/edit macros. I'm not sure why you're writing about downloaded or imported workbooks. The workbooks could contain macros that you developed and saved. JLGWhiz wrote: Hi Dave, I may not have chosen my words very well it the first posting. Since I have always had my access to VBA turned on, I have not thought much about what life would be like without it. But, I do remember when I first fired up my xl2003, it was not on and I could not open the VBE until I checked the box. However, it makes sense the macros will run without the box being checked, but the only way I can think of that they would be available to run is from a downloaded or imported workbook that already contained the macro. If that is not the case, I would appreciate some enlightenment. "Dave Peterson" wrote: That's not right. Trust to the VBA Project allows the user to run programs that would add/delete/change/read code. It's got nothing to do with the user running macros. JLGWhiz wrote: If they want to run macros in VBA then they have to check the box. If they never intend to use VBA then they don't need to check the box. Pro they can use it. Con they can't. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt -- Dave Peterson -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Well, that blew my whole concept of what that check box controlled. Thanks
for the wake up. "Dave Peterson" wrote: Try a test. Turn off that option. Create a workbook with a simple macro. Save the workbook and close and reopen excel and that workbook. Your macro will run ok--well, unless your simple macro tries to do something that accesses a project. And I'm guessing that you have a shortcut key (not built into excel) that would open the VBE. And that stopped you from getting to the VBE to create/edit macros. I'm not sure why you're writing about downloaded or imported workbooks. The workbooks could contain macros that you developed and saved. JLGWhiz wrote: Hi Dave, I may not have chosen my words very well it the first posting. Since I have always had my access to VBA turned on, I have not thought much about what life would be like without it. But, I do remember when I first fired up my xl2003, it was not on and I could not open the VBE until I checked the box. However, it makes sense the macros will run without the box being checked, but the only way I can think of that they would be available to run is from a downloaded or imported workbook that already contained the macro. If that is not the case, I would appreciate some enlightenment. "Dave Peterson" wrote: That's not right. Trust to the VBA Project allows the user to run programs that would add/delete/change/read code. It's got nothing to do with the user running macros. JLGWhiz wrote: If they want to run macros in VBA then they have to check the box. If they never intend to use VBA then they don't need to check the box. Pro they can use it. Con they can't. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt -- Dave Peterson -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I got cut off by an automatic download.
Anyhow, I don't believe it affects the performance of Excel one way or the other if the box is checked and the user never opens the VBE. But if they want to use the VBE, or load a macro from some where else, they would need access to VBA. I have not experimented with it, but I would assume that they could load a workbook from another source that contained VBA procedures and the proceures would run, even if they did not have the box checked. They would probably not be able to access the code until they checked the button. I'll have to verify that. "Barb Reinhardt" wrote: What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That application level setting allows code, from virtually any source, to
read/write a workbook's VBProject, its modules and code etc. In theory if the box is checked all projects, whether or not they even contain any code, are vulnerable to malicious attack (ie code changes, if the project is not locked). Having said that I have never heard of such an attack being reported, has anyone - that's a genuine question. Neither have I ever heard of a virus type xls file being distributed in say an email since pre xl97 (unlike numerous bad doc attachments). In theory you could be held responsible for advising a user to allow access, though I think the risk to the user and in turn you is very small. Where possible though, best to find ways of avoiding the need to access the project. I recall you posted a question which required access and I gave you an easy workaround which didn't. Unless you have some other reason why not simply go with that. Regards, Peter T "Barb Reinhardt" wrote in message ... What are the Pros/Cons of having users select Trust the VBA Project? Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trust Access to Visual Basic Project | Excel Programming | |||
Pros and Cons of embedding Excel Workbook object in PPT Presentati | Excel Discussion (Misc queries) | |||
Trust Access to Visual Basic Project | Excel Programming | |||
Trust access to visual basic project greyed out | Excel Discussion (Misc queries) | |||
Excel as a development Platform? pros and cons? | Excel Programming |