Skip to content

Instantly share code, notes, and snippets.

@cerkit
Created August 15, 2014 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerkit/1bd81bc0cfd34e2a6c74 to your computer and use it in GitHub Desktop.
Save cerkit/1bd81bc0cfd34e2a6c74 to your computer and use it in GitHub Desktop.
Set boolean property with If, Then, Else (old way)
If Mid(C1, 40, 1) = "Y" Then
C1GridView1.Columns.ColumnByName("Age Allocated").Visible = True
Else
C1GridView1.Columns.ColumnByName("Age Allocated").Visible = False
End If
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment