Okay, so I've been scouring the internet for info on if statements and I can only seem to find if statements that check if a cell contains ANY text. What I'm looking for is something like this...
If the cell in Range(enter range) contains (type text her) then perform the following code
or
If cell contains this text then perform this different code
I already have the correct codes written out which is working correctly. I just need to make it dependent on text in a different cell. So basically I have an account statement for two different accounts but they appear on the same statement. So when I process a transaction, I want it to bring the correct amount from the balance section for the correct account.
Therefore, when cell says "Account 1" it should go and bring my current balance from account 1 and when the cell says "Account 2" it should go and bring me my balance from account 2. Thanks in advance. Current code I have for this macro is pasted below.
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
Bookmarks