Hi,
Yes your assumption is right. You could also try this way as well
Code:If .Controls(i).Name Like "abc*" Then 'begins with abc,"*abc" > ends with abc, "*abc*" contains abc '//or use like 'If .Controls(i).Name = "abc" Then .Controls(i).BackColor = RGB(0, 64, 0) End If
Bookmarks