Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

GetWindowsDirectory in Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Broadband Al - 20 Sep 2007 17:04 GMT
I've been successfully using a programmed spreadsheet that first writes to on
Windows XP that reads from the Windows Directory. I now need to use it on a
Vista machine. It doesn't seem to find the Windows Directory. How do I find
it?
Signature

Oxfordshire, UK

Tom Ogilvy - 20 Sep 2007 17:38 GMT
Don't know what method you tried, but try:

? Environ("SystemRoot")
C:\WINDOWS

the above is demo't from the immediate window.  

Not tested in Windows Vista.

Signature

Regards,
Tom Ogilvy

> I've been successfully using a programmed spreadsheet that first writes to on
> Windows XP that reads from the Windows Directory. I now need to use it on a
> Vista machine. It doesn't seem to find the Windows Directory. How do I find
> it?
Broadband Al - 21 Sep 2007 17:08 GMT
Thanks - the code is much shorter your way and works in Vista although the
index references are different. I was able to trap the correct fields -
thanks.
Signature

Oxfordshire, UK

> Don't know what method you tried, but try:
>
[quoted text clipped - 9 lines]
> > Vista machine. It doesn't seem to find the Windows Directory. How do I find
> > it?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.