Hello Dears , i Write this code and i get this error . could you please to help me . thank you
photo_2018_12_11_23_47_01.jpg
Hello Dears , i Write this code and i get this error . could you please to help me . thank you
photo_2018_12_11_23_47_01.jpg
Hello there
Is it VB code, which you are using in VBA excel
So the thing is Print isn't statement which you can use, you can tryout Cells(1, 1).Value for example.
May be some other issues will come up, because of VB code. Need to check and not to retype everything.
All the best
pic.jpg
you have to change (Print 1, "sk="; sk; "sp="; sp) to (debug.Print 1, "sk="; sk; "sp="; sp).
then the result will be displayed at the immediate window like my posted picture.
Last edited by 大灰狼1976; 12-13-2018 at 11:34 PM.