A
Adien
Well as the name states I'm tyring to open a specific excel sheet from
access 2000 for editing another poster helped me get this far
Option Compare Database
Option Explicit
Public Const QUOTE = """"
Public Sub testExcel()
Dim sDocName As String
Dim sPathName As String
Dim ExcelApp As Excel.Application
Dim ExcelWorkbook As Excel.Workbook
'Fire up excel
Set ExcelApp = New Excel.Application
ExcelApp.Visible = True
Set ExcelWorkbook = ExcelApp.Workbooks.Open(sDocName)
sPathName = "C:\Hartman\BrokerLicenses"
sDocName = QUOTE & sPathName &
"\qCleanUpMissingBeazleyTradeID2.xls" & QUOTE
this is all editted appropriately for my situation but now I'm getting
a "Automation Error - Server thre an exception"
Any suggestions would be a appareciated
Adien
access 2000 for editing another poster helped me get this far
Option Compare Database
Option Explicit
Public Const QUOTE = """"
Public Sub testExcel()
Dim sDocName As String
Dim sPathName As String
Dim ExcelApp As Excel.Application
Dim ExcelWorkbook As Excel.Workbook
'Fire up excel
Set ExcelApp = New Excel.Application
ExcelApp.Visible = True
Set ExcelWorkbook = ExcelApp.Workbooks.Open(sDocName)
sPathName = "C:\Hartman\BrokerLicenses"
sDocName = QUOTE & sPathName &
"\qCleanUpMissingBeazleyTradeID2.xls" & QUOTE
this is all editted appropriately for my situation but now I'm getting
a "Automation Error - Server thre an exception"
Any suggestions would be a appareciated
Adien