Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default GetWindowsDirectory in Vista

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?
--
Oxfordshire, UK
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default GetWindowsDirectory in Vista

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.

--
Regards,
Tom Ogilvy

"Broadband Al" wrote:

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?
--
Oxfordshire, UK

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default GetWindowsDirectory in Vista

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.
--
Oxfordshire, UK


"Tom Ogilvy" wrote:

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.

--
Regards,
Tom Ogilvy

"Broadband Al" wrote:

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?
--
Oxfordshire, UK

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
VISTA PaulaC New Users to Excel 1 July 28th 09 02:13 PM
vista ramone Setting up and Configuration of Excel 2 September 28th 08 12:40 AM
XP V Vista Arisaiglass Excel Discussion (Misc queries) 3 March 10th 08 08:02 PM
Vista Doreen P Excel Discussion (Misc queries) 0 April 5th 07 01:56 AM
Vista Bill Martin[_2_] Excel Programming 1 April 5th 06 03:55 AM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"