Skip to content

Instantly share code, notes, and snippets.

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 imamuddinwp/3044c7f72ffa58c87c7c3b6183317f1d to your computer and use it in GitHub Desktop.
Save imamuddinwp/3044c7f72ffa58c87c7c3b6183317f1d to your computer and use it in GitHub Desktop.
Excel VBA Macro; Check Cell is empty or not; powered by Imam Uddin; imamcu07
If IsEmpty(Range("A2").Value) = False Then
MsgBox prompt:="Previous Data May Already Exist, Please Clear Previous Data!!" & vbNewLine & "-------------------------" & vbNewLine & "proudLy powered by" & vbNewLine & " --> Md.ImAmUdDiN <--" & vbNewLine & "https://about.me/imamcu07", _
Buttons:=vbInformation + vbMsgBoxHelpButton, _
Title:="Message From Md.ImAmUdDiN "
Range("A2").Select
Else
'Code to paste data or othere operation'
End If
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment