Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need to scan xls files and identify if they use macros...wanna use VB

I was on a project to do something similar, and besides an automated
chaeck, there was a need to have each Excel file with potential
code/upgrade issues checked. I believe there is a HasMacro bit you can
check on each file.

Also, if that doesn't exist, you can count the lines of the modules,
trim the empty space, then have a some criteria where the string needs
to be greater than some small value to qualify as having code.


James Igoe

|| http://code.comparative-advantage.com


Jim Hicks wrote:
I was given a project to scan all of the Excel files on our network and
generate a report listing the
files and wether they use Macros. I was thinking of using VB6 to scann all
dirs/subdirs...easy part.
Question: -- How do I quickly scan an excel file and determine if it
has/uses Macros using VB6.
I appreciate you taking the time to read this and any help anybody can
provide. Thanks.


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 open files without doing a virus scan first? Mim Excel Discussion (Misc queries) 2 January 19th 08 08:35 PM
Need to scan xls files and identify if they use macros...wanna use Pflugs Excel Discussion (Misc queries) 1 June 22nd 06 08:29 PM
Need to scan xls files and identify if they use macros...wanna use Pflugs Excel Programming 1 June 22nd 06 08:29 PM
Need to scan xls files and identify if they use macros...wanna use martin1 Excel Discussion (Misc queries) 1 June 22nd 06 07:44 PM
Need to scan xls files and identify if they use macros...wanna use martin1 Excel Programming 1 June 22nd 06 07:44 PM


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