Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default How to open or view VBA project only

Is it possible to open a VBA project for viewing only (even when it is
associated with a spreadsheet)? So without activating the macro (in case
there is a macro initiated by an Open event). In this way it would be
possible to check the macro for "virusses".

Thanks in advance,

Jan Bart
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to open or view VBA project only

Why would you not just virus check the Excel workbook?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Excelerate-nl" wrote in message
...
Is it possible to open a VBA project for viewing only (even when it is
associated with a spreadsheet)? So without activating the macro (in case
there is a macro initiated by an Open event). In this way it would be
possible to check the macro for "virusses".

Thanks in advance,

Jan Bart



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default How to open or view VBA project only

Hi Jan,

I'm not sure what you mean by " (even when it is associated with a
spreadsheet)" as distinct from "not associated".

To disable open events in Workbook_Open or Auto_Open events, when the macro
virus warning appears hold Shift, allow Enable macros and open the file.

Regards,
Peter T



"Excelerate-nl" wrote in message
...
Is it possible to open a VBA project for viewing only (even when it is
associated with a spreadsheet)? So without activating the macro (in case
there is a macro initiated by an Open event). In this way it would be
possible to check the macro for "virusses".

Thanks in advance,

Jan Bart



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default How to open or view VBA project only

Hello Bob,

My virus checker does not react on for instance the Kill command in my VBA
script. So virus checking does not make sense......

I find the option of using the Shift key when selecting Enable Macro's to
disable the Open event, a reasonable secure step in opening an Excel sheet
from an unverified source.
However i am still looking for an option to view the code without opening.
Do you have any clues??

Regards,

Jan Bart

"Bob Phillips" wrote:

Why would you not just virus check the Excel workbook?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Excelerate-nl" wrote in message
...
Is it possible to open a VBA project for viewing only (even when it is
associated with a spreadsheet)? So without activating the macro (in case
there is a macro initiated by an Open event). In this way it would be
possible to check the macro for "virusses".

Thanks in advance,

Jan Bart




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to open or view VBA project only

Or just change macro security to the highest setting (temporarily).

This will stop all macros--even after the workbook is opened.

Excelerate-nl wrote:

Is it possible to open a VBA project for viewing only (even when it is
associated with a spreadsheet)? So without activating the macro (in case
there is a macro initiated by an Open event). In this way it would be
possible to check the macro for "virusses".

Thanks in advance,

Jan Bart


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default How to open or view VBA project only

Peter T wrote:
Hi Jan,

I'm not sure what you mean by " (even when it is associated with a
spreadsheet)" as distinct from "not associated".


He is looking for a vba viewer, similar to xls viewer.
No, I don't know any.
Im not sure if such exists.
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
how can i download component to open vba project when using 2007? turg Excel Discussion (Misc queries) 1 October 6th 08 01:24 PM
VBA Project - Open/Close with Macro Danny Excel Worksheet Functions 2 September 7th 07 11:02 PM
With VBA from Excel: Open Project, extract resource list and copy it to a worksheet, close project. Tony Excel Programming 1 October 18th 05 03:53 PM
File, Open, View pkferret Setting up and Configuration of Excel 8 May 17th 05 06:20 PM
Locking project with workbook open? Joe90[_2_] Excel Programming 3 November 7th 04 10:30 PM


All times are GMT +1. The time now is 10:41 AM.

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

About Us

"It's about Microsoft Excel"