Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Range("E3").Select
If Trim(ActiveCell.Value) = "" Then
VBAProject.ThisWorkbook.Worksheets("LPO").Range("E3").Value = Date
End if
'Range("E3").Select -- WHAT WORKBOOK & SHEET IS THIS CELL ON???
If Trim(WHATWORKBOOK.WHATSHEET.Range("E3").Value) = "" Then
VBAProject.ThisWorkbook.Worksheets("LPO").Range("E3").Value = Date
End if
The IsEmpty function, when used on a cell, will return False if there is either a formula or data in the cell.Is there any VBA function to test if a cell is blank?
If Trim(Range("E3").value) = "" Then
'...
End If
If Trim(WHATWORKBOOK.WHATSHEET.Range("E3").Value) = "" Then
VBAProject.ThisWorkbook.Worksheets("LPO").Range("E3").Value = Date
End if
If Trim(PurchaseOrders.LPO.Range("E3").Value) = "" Then
Sub aTest()
If IsEmpty(Sheet1.Range("A1")) = True Then MsgBox "A1 is empty"
End Sub