I'm not sure what you're asking. VBA has its own 'And' and 'Or' comparison
operators. If you want to use the worksheet function, you can do something
like
Application.WorksheetFunction.Or
If you want to create a formula in a cell, try something like
Dim F As String
F = "=OR(A1,B1)"
Range("C1").Formula = F
--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
"N+" <(E-Mail Removed)> wrote in message
news

949A3F4-E4E4-4342-9378-(E-Mail Removed)...
> hi all !! how can i do the AND , OR function of worksheet
> in the vbe ??
> ty for helping !!
> paolo