Thank you Paolo, and sorry for keeping ask questions. I meet another problem, there is an massage of ” Run-time error ‘9’: Subscript out of range” pop up when I tried to perform this .xlsx file. And if you click Debug, the error goes to a line of “dblXY(j, 1) = Val(strXY(0))”
Do you know how to fix this problem, Thank you again!
Cahrles