I don't know why I have got the error (Shown in Fig 1)
to the last line below?
Sub Validate_repre_code(msg As String, para_code As String, para_fnd As Boolean)
Dim local_rw As Integer
Dim fnd_repre As Boolean, repre_code As String, chk_msg As String
repre_code = Cells(rw_kp + 1, 11).Value
chk_msg = ""
Validate_repre_code chk_msg, repre_code, fnd_repre
The previous codes are working fine, while I've just added the above codes to the existing ones. Once I've remarked the above line in error, the whole process again is working fine. Why?