Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I hope that someone here can help me with this.
Is there a way of identifying which operating system is being used, or where the Desktop folder is? The requirement is to save a file to the desktop without worrying about the username. However, there are users on Windows Server 2003, Windows Server 2008, Windows Vista and Windows XP. thanks in advance Carl |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub WhichOne()
MsgBox (Application.OperatingSystem) End Sub -- Gary''s Student - gsnu200832 "Carl Sprake, Oxford, UK" wrote: I hope that someone here can help me with this. Is there a way of identifying which operating system is being used, or where the Desktop folder is? The requirement is to save a file to the desktop without worrying about the username. However, there are users on Windows Server 2003, Windows Server 2008, Windows Vista and Windows XP. thanks in advance Carl |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
And for the desktop
MyPath = CreateObject("WScript.Shell").Specialfolders("Desk Top") msgbox MyPath Mike "Carl Sprake, Oxford, UK" wrote: I hope that someone here can help me with this. Is there a way of identifying which operating system is being used, or where the Desktop folder is? The requirement is to save a file to the desktop without worrying about the username. However, there are users on Windows Server 2003, Windows Server 2008, Windows Vista and Windows XP. thanks in advance Carl |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problems in macros after chaning Operating system to Windows XP | Excel Programming | |||
How to check Operating System? | Excel Programming | |||
Find out Operating System | Excel Programming | |||
Operating system | Excel Programming | |||
Operating system | Excel Programming |