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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use of a Set in VBS

Status
Not open for further replies.

egodette

Technical User
Jun 12, 2002
222
US
How do I properly code this for use in Excel?

IF Left(Trim(Range("D" & Trim(Str(irow)))), 3) exists IN (AUD,BEF,ECU,EUR,GBP,NZD,PKR) THEN
 




Hi,
Code:
Select Case Left(Cells(irow, "D").Value, 3)
   Case "AUD","BEF","ECU","EUR","GBP","NZD","PKR"
      'now what happens???
End Select

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top