Skip to content

Instantly share code, notes, and snippets.

@Vitosh
Created April 18, 2017 14:02
Show Gist options
  • Save Vitosh/6e927f785488cfa798d8855882685e56 to your computer and use it in GitHub Desktop.
Save Vitosh/6e927f785488cfa798d8855882685e56 to your computer and use it in GitHub Desktop.
Option Explicit
Option Private Module
Sub Testing()
Dim strCell As String
With ActiveSheet
strCell = Left(.Cells(1, 1), 5)
Select Case LCase(strCell)
Case "inter"
.Cells(5, 11) = "Intercompany Loan"
End Select
End With
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment