Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refering to range... 1

Status
Not open for further replies.

johnny45

Technical User
Nov 8, 2006
136
CA
Why is this not working ?


Code:
Sub customershow()
If Sheet1.Range(.[a1]).value = "" Then
Customers.Show
Else
Customer.Show
End If
End Sub
 




Hi,
Code:
Sub customershow()
If Sheet1.Range("a1").value = "" Then
Customers.Show
Else
Customer.Show
End If
End Sub
or
Code:
Sub customershow()
If Sheet1.[a1].value = "" Then
Customers.Show
Else
Customer.Show
End If
End Sub


Skip,

[glasses] When a diminutive clarvoyant had disappeared from detention, headlines read...
Small Medium at Large[tongue]
 
Thanks Skip !

Cheers and the Very Best for the New Year !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top