LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DOS....there must be a better way


Hi all - hoping for a bit of advice.

Working on tool to check population of server drive; all subfolders &
files (multi format). Have been using macro button/VBA to run shell DOS
command (dir + switches) to return alphabetical list inc sub-directories
+ files plus their extension ie. Everything c3000 lines). The DOS
command outputs to file “data.xls”. Next button/VBA gets data from
“data.xls” and pastes values into column A of tool worksheet (“data”)
named range “listing”. I then use a countif wildcard function to search
"listing" and populate a conditionally formatted matrix.

It works (albeit slowly) but you can see its not elegant and I get
annoying messages about data on clipboard. I am hoping that there is a
VBA method of populating my data worksheet ……any ideas.

D:-)


--
Digory
------------------------------------------------------------------------
Digory's Profile: http://www.excelforum.com/member.php...o&userid=16439
View this thread: http://www.excelforum.com/showthread...hreadid=474447

 
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



All times are GMT +1. The time now is 07:48 AM.

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"