fill A1 when open xsl file

T

tpapaj

Please how to write macro, which fill cell A1 with text "Hello" whe
open the xsl file
 
J

JMay

Do you have a Sheet1 in the workbook you are opening?
If not change Tom's code reference to Sheet1 to YourSheetName.
 
F

Frank Kabel

Hi
what error did you get or does nothing happen?.
Check if you have places Tom's code into the workbook module (and not
into a standard module)
 
Top