Login

Welcome, Guest. Please login or register.

February 24, 2024, 01:48:14 am

Author Topic: If...Then VBA help!  (Read 4341 times)  Share 

0 Members and 1 Guest are viewing this topic.

TrueTears

  • TT
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 16363
  • Respect: +667
If...Then VBA help!
« on: March 25, 2012, 03:22:19 am »
0
Hey guys, just stuck on the following problem :(



My code is the following:



However I am stuck on condition 3! I can not think of a good way to code it, can anyone please help?

Thanks so much!



The first image is a bit small, so I've attached it.



Okay, I think I actually got it lol, is this right? It seems to work when i run the program, but just gonna double check.




« Last Edit: March 25, 2012, 04:02:08 am by TrueTears »
PhD @ MIT (Economics).

Interested in asset pricing, econometrics, and social choice theory.