Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to activate the previous sheet in my code. My macro does
some code from the current sheet but then needs to pull some information from the previous sheet. I get an error when I insert the line ActiveSheet.Previous.Select Is this not correct? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It worked for me. What error did you get?
" wrote: I am trying to activate the previous sheet in my code. My macro does some code from the current sheet but then needs to pull some information from the previous sheet. I get an error when I insert the line ActiveSheet.Previous.Select Is this not correct? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Nov 25, 3:37 pm, JLGWhiz wrote:
It worked for me. What error did you get? " wrote: I am trying to activate the previous sheet in my code. My macro does some code from the current sheet but then needs to pull some information from the previous sheet. I get an error when I insert the line ActiveSheet.Previous.Select Is this not correct? I changed things around...I think it is because my previous sheet was hidden. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Nov 25, 3:37 pm, JLGWhiz wrote:
It worked for me. What error did you get? " wrote: I am trying to activate the previous sheet in my code. My macro does some code from the current sheet but then needs to pull some information from the previous sheet. I get an error when I insert the line ActiveSheet.Previous.Select Is this not correct? The previous sheet was a hidden sheet. I think that is why it would not work. I inserted ActiveSheet.Previous.Visible = True ActiveSheet.Previous.Select and I didn't get an error...however, my code did not do what I wanted it to. Back to the drawing board! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activating Sheet from a List | Excel Programming | |||
Help with activating previous sheet | Excel Programming | |||
autorun upon activating a sheet | Excel Programming | |||
Problem activating a sheet | Excel Programming | |||
Problem in activating a sheet | Excel Programming |