pullmyefinger
Board Regular
- Joined
- Mar 9, 2011
- Messages
- 69
i have a worksheet that need certain tasks performed when the worksheet is opened.
i read and found the workbook.open sub, but it doesn't seem to work like i hoped it would. I need to:
open a worksheet and have the workbook.open sub do things like
activate the worksheet called "this month"
[Calc] i think this works
check the value in a cell using an if statement
if the condition is true, i need to copy/paste special a value in one cell to
another
in a nested if below the one above, i need to check the value of another cell and copy/paste special from one cell to another.
--------------------------------------------
It seems like even though Both IF statments are True, it Ignores the code therein and all I get is the msgbox after the nested IFs.
Do I need to do anything else that microsoft isn't telling me?
i read and found the workbook.open sub, but it doesn't seem to work like i hoped it would. I need to:
open a worksheet and have the workbook.open sub do things like
activate the worksheet called "this month"
[Calc] i think this works
check the value in a cell using an if statement
if the condition is true, i need to copy/paste special a value in one cell to
another
in a nested if below the one above, i need to check the value of another cell and copy/paste special from one cell to another.
--------------------------------------------
It seems like even though Both IF statments are True, it Ignores the code therein and all I get is the msgbox after the nested IFs.
Do I need to do anything else that microsoft isn't telling me?