ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro If and... (https://www.excelbanter.com/excel-programming/363696-macro-if.html)

herve[_20_]

Macro If and...
 

Hi,
could anyone tell me how to convert a formula =If And... onto a macro
Regard

--
herv
-----------------------------------------------------------------------
herve's Profile: http://www.excelforum.com/member.php...fo&userid=2731
View this thread: http://www.excelforum.com/showthread.php?threadid=54993


brucemc[_11_]

Macro If and...
 

Sorry if I completely misunderstand the question, but are you lookin
for some VBA code as basic as:


Code
-------------------
Sub IfSomething()
If <condition01 AND <condition02 Then
<do something
Else
<do something else
End If
End Su
-------------------



--
brucem
-----------------------------------------------------------------------
brucemc's Profile: http://www.excelforum.com/member.php...fo&userid=3287
View this thread: http://www.excelforum.com/showthread.php?threadid=54993



All times are GMT +1. The time now is 01:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com