A
absolutfreedom
Hi, I have a quick question: How to bring a non-active excel sheet o
top? (i.e. make it the active one)?
Now let's say I open 2 excel files (A.xls and B.xls). Now, whenever
received an input, I have a formula which will be triggered by an OnKe
"~". That formula/module will check whether that input belong to A.xl
or B.xls. So if I enter an input into A.xls and it does belong t
A.xls, nothing happen. However, if I enter an input to A.xls, an
actually that input belong to B.xls, I have to delete that input fro
A.xls, and fill it to B.xls.
I got everything working, but I can't bring B.xls on top/active. S
what my program does right now, it only fill B.xls (which is still o
the back). How to make it on top/activate it?
I used this:
Workbooks("B.xls").Activate
Workbooks("B.xls").Sheets(1).Range("C" & Line).Select
ActiveCell.Value = inputvalue
Any suggestion? Oh yeah, and also when I try to SendKey "~", it sen
the Enter key to A.xls. Actually I want it to be sent to B.xls.
Thanks
Adria
top? (i.e. make it the active one)?
Now let's say I open 2 excel files (A.xls and B.xls). Now, whenever
received an input, I have a formula which will be triggered by an OnKe
"~". That formula/module will check whether that input belong to A.xl
or B.xls. So if I enter an input into A.xls and it does belong t
A.xls, nothing happen. However, if I enter an input to A.xls, an
actually that input belong to B.xls, I have to delete that input fro
A.xls, and fill it to B.xls.
I got everything working, but I can't bring B.xls on top/active. S
what my program does right now, it only fill B.xls (which is still o
the back). How to make it on top/activate it?
I used this:
Workbooks("B.xls").Activate
Workbooks("B.xls").Sheets(1).Range("C" & Line).Select
ActiveCell.Value = inputvalue
Any suggestion? Oh yeah, and also when I try to SendKey "~", it sen
the Enter key to A.xls. Actually I want it to be sent to B.xls.
Thanks
Adria