K
Katrina
I have an export module set up that creates a new excel
worksheet and adds information to it. In setting up the
module, I have the following varibles (actually objects)
defined.
Set xlApp = CreateObject("Excel.Application")
Set xlWb = xlApp.Workbooks.Add
Set xlWs = xlWb.Worksheets("Sheet1")
I have the 3 variables called out later. I tryed using
the "GetObject" function, but then when I tried to define
xlWb and xlWs, the programs gave me errors saying that
the property wasn't supported...
How do I call up an exisiting workbook and call out a
specific sheet so that I can reference cells later as
seen below?
xlWs.cells(1, 1).Value = "Start of Page"
Thanks,
Katrina
worksheet and adds information to it. In setting up the
module, I have the following varibles (actually objects)
defined.
Set xlApp = CreateObject("Excel.Application")
Set xlWb = xlApp.Workbooks.Add
Set xlWs = xlWb.Worksheets("Sheet1")
I have the 3 variables called out later. I tryed using
the "GetObject" function, but then when I tried to define
xlWb and xlWs, the programs gave me errors saying that
the property wasn't supported...
How do I call up an exisiting workbook and call out a
specific sheet so that I can reference cells later as
seen below?
xlWs.cells(1, 1).Value = "Start of Page"
Thanks,
Katrina