View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default macro to remember sheet

Declare ASheet before the macro, like this

Dim Asheet As Variant

Sub InfoWerkbalk()

etc.



--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"leonidas" wrote in
message ...

Hi Bob,

Sorry but I don't understand what you mean. I still am a novice with
VBA.
The macro as in my previous post is all I have. "Asheet" doesn't appear
anywhere else.
Can you tell me how to solve the problem?
Thanks again!


--
leonidas
------------------------------------------------------------------------
leonidas's Profile:

http://www.excelforum.com/member.php...o&userid=35375
View this thread: http://www.excelforum.com/showthread...hreadid=569806