Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eric
 
Posts: n/a
Default To be safe - how to check macro before run it?

Someone sent me a excel file with macro, how can I check what the macro does
before run it?
Thank you in advance
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default To be safe - how to check macro before run it?

Open the file with macros disabled
(change your security setting via tools|macro|security|security level
to high)

Then open the workbook

Then go to the VBE (alt-f11) and look at the code in the project.

If the project is protected, then you'll be stuck trusting or not trusting the
source.

Remember to toggle the macro security setting back the way you want it when
you're done.



Eric wrote:

Someone sent me a excel file with macro, how can I check what the macro does
before run it?
Thank you in advance
Eric


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Eric
 
Posts: n/a
Default To be safe - how to check macro before run it?

Thank you
Eric

"Dave Peterson" wrote:

Open the file with macros disabled
(change your security setting via tools|macro|security|security level
to high)

Then open the workbook

Then go to the VBE (alt-f11) and look at the code in the project.

If the project is protected, then you'll be stuck trusting or not trusting the
source.

Remember to toggle the macro security setting back the way you want it when
you're done.



Eric wrote:

Someone sent me a excel file with macro, how can I check what the macro does
before run it?
Thank you in advance
Eric


--

Dave Peterson

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 do i create a macro that would check the contents of cells Jade Excel Discussion (Misc queries) 1 December 31st 05 01:37 AM
how do i create a macro that would check the contents of cells Jade Excel Discussion (Misc queries) 1 December 31st 05 12:48 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Macro Formula revision? Mark Excel Worksheet Functions 1 November 28th 04 01:43 AM


All times are GMT +1. The time now is 04:24 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"