I tried that. It was still causing grief

Let me try here:

<

Ok that worked, let me edit post...

Ok ... it was the equal sign after the <

i had to leave off the ; ???

The difference between getobject and createobject. Here's some web info:

quote:

CreateObject vs. GetObject: What's the Difference?

Besides minor differences in the syntax, the CreateObject and GetObject functions are used in different contexts. The differences are discussed in the VBScript documentation, but can be summarized as follows:

CreateObject is used to create an interface to a new instance of an application. Use CreateObject when it's not certain whether the application to integrate is running. For example:
Set xl = CreateObject("Excel.Application")

starts Microsoft Excel. The object returned in xl is a reference to the Excel.Application object just created.

GetObject is used with an application that's already running, or to start an application with a file already loaded. For example:
Set xlBook = GetObject("C:\TEST.XLS")

would start Microsoft Excel with the file Test.xls already loaded. The object returned would be a reference to the Workbook object representing the just opened Test.xls file.

I like to think that CreateObject creates a running instance of a specific application or a specific DLL or EXE. GetObject is like starting a COM shortcut. Your providing the name (called a moniker) of an abstract thing. Kinda like file associations in Windows. Starting COM objects indirectly.

-Shawn

[ 21 March 2002, 05:24: Message edited by: Shawn ]