Thank you Leith Ross and JBeaucaire.
I have tried both codes and does not work.
JBeaucaire, your program runs without error, but does not output anything to the spreadsheet. The following is the code that I use to run.
Leith Ross, Your code is giving me an error:
Run-time error '91': Object variable or With block variable not set
I have modified the code a bit to suit my need, but it seems the error is setting the range.
The following line is giving me the error.
Dst = Sheet1.Range("A1")
Any solution to this issue will be appreciated.
Once again, thank you so much for your help.
Bookmarks