• Answers
  • Web
Answer 1 out of 1
 
A:

Don't quite understand the second part but to run a messagebox on opening the file right click on a sheet tab and click on View Code.  On the VBA screen that appears click on ThisWorkbook in the Project box.  In the dropdown that says (General) select Workbook and you should get text. Enter below..

 Private Sub Workbook_Open ()

Msgbox "yourtext"

End Sub

 

 
Comment About This Answer (or add your own answer)

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2010, Yedda Inc. and respective copyright owners