Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Setting File Attributes and Windows versions

I am having trouble with a routine in Excel vba on Windows 2000
machines. I reset the attributes of the files I want to hide to
vbHidden, using SetAttr, before opening the getopenfile dialogue box(
special filtering means I can't use the file filter in this). It works
well on everything except win 2000 where it takes 30 seconds as
against 0.7 sec in 98 and XP. Any offers? Is it possible to tell which
version of windows is running using excel vba.
Thanks for any help
John Robinson
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Setting File Attributes and Windows versions

After doing a search using google I found this site that looks like i
has what you are after

http://www.oreillynet.com/pub/a/orei...sions_0899.htm

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Setting File Attributes and Windows versions

Possibly

? application.OperatingSystem
Windows (32-bit) 4.10

--
Regards,
Tom Ogilvy


"John Robinson" wrote in message
om...
I am having trouble with a routine in Excel vba on Windows 2000
machines. I reset the attributes of the files I want to hide to
vbHidden, using SetAttr, before opening the getopenfile dialogue box(
special filtering means I can't use the file filter in this). It works
well on everything except win 2000 where it takes 30 seconds as
against 0.7 sec in 98 and XP. Any offers? Is it possible to tell which
version of windows is running using excel vba.
Thanks for any help
John Robinson



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
Data value display attributes linked to table attributes MDT at Paragon Home Inspections, LLC Charts and Charting in Excel 0 November 15th 06 12:53 AM
Setting character attributes in a text string Greg Neill Excel Worksheet Functions 1 June 15th 05 08:47 PM
Setting attributes for controls Don Madsen Excel Programming 2 October 29th 03 01:27 AM
Windows versions diff Garry Jones Excel Programming 3 October 16th 03 07:44 AM
setting procedure attributes Chip Pearson Excel Programming 0 September 3rd 03 02:18 PM


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