how to export the notes data to already excel file.first i need to check if that file is existed or not for that i did like this Dim stream As NotesStream
Dim pathName As String, fileName As String
filenum=Freefile()
pathName$ = "c:\temp\*.*"
fileName$ = Dir$(pathName$, 0)
and then open the file like this
If Not stream.Open(filename) Then
'Msgbox "this file" & filename & "not opened"
Open fileName$ As filenum
but I got this error “unable to open the file” error and no resume error
I have checked like this also
Do While fileName$ <> “”
If fileName$=exporttoexcel.xls Then
'if Isexist fileName$ then
Open fileName$ As filenum
'Excel code here
End If
fileName$ = Dir$()
Loop
can any one help in this
with hope
thanks