Importing API Call

  • Thread starter Thread starter Michael Johnson
  • Start date Start date
M

Michael Johnson

I am trying to use this code to allow the user to select
an excel file import, but everytime I try to use it it
gives me a error (Object or Variable Not Defined) Any help
is great.

Dim strFilter As String
Dim strInputFileName as string

strFilter = ahtAddFilterItem(strFilter, "Excel Files
(*.XLS)", "*.XLS")
strInputFileName = ahtCommonFileOpenSave( _
Filter:=strFilter, OpenFile:=True, _
DialogTitle:="Please select an input
file...", _
Flags:=ahtOFN_HIDEREADONLY)
 
Back
Top