Hi All,
Thanks for putting in time for viewing my post.
I am stuck with a runtime issue, the bit of code that seems to be causing an issue is the text below in bold
The "tblBLF" is within MSaccess, where the data is "sent" to (after carrying out the specific macro operations), which I have to export to excel once the code has completed.
It seems I cannot use debugging mode, to step into the code to find out what is causing the issue.
I have tried compact and repair database - with no luck
I have also tried removing the old data within "tblBLF" so it is blank, as after searching online some people have suggested that there may be formulas within the table. Again with no luck.
I have used the file previously with no issues.
I am running Access 2016 64 bit. I was running Access 2016 64 bit on a 32 bit machine, but since have IT upgrade my hardware. it was working fine before then, I am skeptical it is down to this issue alone as other Access functions work well for me.
Please could someone put me out of my misery? If you require any further info, or have questions please do ask.
Many thanks for your time.
Thanks for putting in time for viewing my post.
I am stuck with a runtime issue, the bit of code that seems to be causing an issue is the text below in bold
Rich (BB code):
"DoCmd.SetWarnings True
strFile = arwGetPersonalFolder & "\BromptonLungFunction.xls" ' & arwGetOfficeVersionExtension(OFFICE_EXCEL)
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "tblBLF", strFile, True
varR = Shell("excel.exe " & strFile, vbMaximizedFocus)
End Sub
The "tblBLF" is within MSaccess, where the data is "sent" to (after carrying out the specific macro operations), which I have to export to excel once the code has completed.
It seems I cannot use debugging mode, to step into the code to find out what is causing the issue.
I have tried compact and repair database - with no luck
I have also tried removing the old data within "tblBLF" so it is blank, as after searching online some people have suggested that there may be formulas within the table. Again with no luck.
I have used the file previously with no issues.
I am running Access 2016 64 bit. I was running Access 2016 64 bit on a 32 bit machine, but since have IT upgrade my hardware. it was working fine before then, I am skeptical it is down to this issue alone as other Access functions work well for me.
Please could someone put me out of my misery? If you require any further info, or have questions please do ask.
Many thanks for your time.