Hi, is there a way I can avoid having to declare my variable I use when using a For Each loop?
Dim adminuser As String 'I'd like to get rid of this line and just declare it all on the next line
For Each adminuser In adminusers
If username = adminuser Then
m_admin = True
End If
Next
Thanks,
--Michael
Dim adminuser As String 'I'd like to get rid of this line and just declare it all on the next line
For Each adminuser In adminusers
If username = adminuser Then
m_admin = True
End If
Next
Thanks,
--Michael
Comment