All you need to do is alter the code you were given to include the following :
Obviously replacing iNum with the variable you had beforeCode:If TypeName(Controls(iNum)) <> "CommandButton" Then <Do the things you need to do> End If
|
Results 1 to 5 of 5
Thread: ATTN: Sam Finch and othersThreaded View
|
Click Here to Expand Forum to Full Width |