I still cannot reproduce this issue on that line.
Do you have Microsoft Excel reference library selected?
Disable the On Error Resume Next and step debug your code.
I still cannot reproduce this issue on that line.
Do you have Microsoft Excel reference library selected?
Disable the On Error Resume Next and step debug your code.
How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.