Hello,
First, sorry to post this basic question. I'm not a programmer, I'm just understanding the code one by one and working.
X1$ = "&LOG Part: " & """" + SD$ + .Cells(R, 1) + ".prt" & """"
Print #1, X1$
The above code prints only when string is entered. If it is a pure number, I get debug error. I see dollar stands for string data type. But I don't know how to fix this. Can you please tell me how to modify this code so it accepts both string and numerical data type.
Thank you in advance.
Bookmarks