Alt+F11 to open the
VB editor. Double-click on ThisWorkbook. Click
drop-down and select Workbook. Click second drop-down and select Open.
Then paste your code there.
"AJPG" wrote in message
...
I'am sorry but i like to know how can activate a macro when i open a
worksheet.
I have done a macro (ctrl+a) that do wat i want, but i must run it when i
open the worksheet.
Thanks in advance
Pinto Guimaraes