hello,
how can we implement the excel's built-in "IF" function in vba?
hello,
how can we implement the excel's built-in "IF" function in vba?
Hi and welcome to the board
Best Google around a bit, you will find many examples
Thank you for your welcome message.
i googled it, but couldnt find anything about what i am looking for.
as you know, you can use nested if functions.
what i want to know is, how would we write our own IF function, if there wasnt any built-in IF ?
See the below thread. You can find IF used at certain places
https://www.excelforum.com/showthread.php?t=773089
regards
johnjohns
When you are not sure where to go, every road takes you there!
Or if you really want to use the worksheet function IF then it can be something like
or certain worksheet fuunctions are available withPlease Login or Register to view this content.
in VBAPlease Login or Register to view this content.
But as arthurbr advised, you can find lots and lots of examples with google search or if you spend a little time on surfing this forum
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks