Hi Alberto
Worth reading this article
http://www.ozgrid.com/VBA/variable-scope-lifetime.htm
If this post helps click Yes
---------------
Jacob Skaria
"Jacob Skaria" wrote:
From VBE menu 'Insert' a module and paste the below declaration..
Public strData As String
If this post helps click Yes
---------------
Jacob Skaria
"Alberto Ast" wrote:
How do I declare a variable so it will work on more than one worksheeet while
using macros among both worksheets.