Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Pros/Cons of having users Trust the VBA Project

What are the Pros/Cons of having users select Trust the VBA Project?

Thanks,
Barb Reinhardt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Pros/Cons of having users Trust the VBA Project

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Pros/Cons of having users Trust the VBA Project

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trust Access to Visual Basic Project tcb Excel Programming 0 January 9th 08 06:39 PM
Pros and Cons of embedding Excel Workbook object in PPT Presentati Barb Reinhardt Excel Discussion (Misc queries) 0 May 29th 07 03:04 PM
Trust Access to Visual Basic Project Farah[_7_] Excel Programming 0 November 7th 05 01:17 PM
Trust access to visual basic project greyed out Amit Shanker Excel Discussion (Misc queries) 2 March 5th 05 09:41 PM
Excel as a development Platform? pros and cons? Freddy[_4_] Excel Programming 3 November 17th 03 10:48 AM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"