S
SG
Hi,
I developed a word template which has a combobox for user to choose reasons from the combox1. The value of reasons are from an excel file (letterreasons.xls).
Below is the code that I'm having problem with, once user who is using windows xp opens it, an error message box pops up "run time error 3170, couldn't find installable ISAM". I reinstalled the office xp suite, didn't help. It works fine at windows 2000 pro.
Private Sub Document_New()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim NoOfRecords As Long
Application.AutomationSecurity = msoAutomationSecurityLow
' Open the database
Set db = OpenDatabase("H:\Templates\letterreasons.xls", False, False, "Excel 8.0")
If you need more information, please let me know.
Thanks in advance,
Sarah
I developed a word template which has a combobox for user to choose reasons from the combox1. The value of reasons are from an excel file (letterreasons.xls).
Below is the code that I'm having problem with, once user who is using windows xp opens it, an error message box pops up "run time error 3170, couldn't find installable ISAM". I reinstalled the office xp suite, didn't help. It works fine at windows 2000 pro.
Private Sub Document_New()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim NoOfRecords As Long
Application.AutomationSecurity = msoAutomationSecurityLow
' Open the database
Set db = OpenDatabase("H:\Templates\letterreasons.xls", False, False, "Excel 8.0")
If you need more information, please let me know.
Thanks in advance,
Sarah