Hi,
In future you will be safer posting to the project.developer group as this
one is closing down soon.
If you already have an object pointing to Excel, then
xlApp.range("A1") =MyMsgBoxResult
will work. If you haven't got to the Excel object stage yet, then search VBA
help on working with other applications. My book on Project VBA (see my
signature) has a number of examples of working with Excel!
--
Rod Gill
Project MVP
Visit
www.msproject-systems.com for Project Companion Tools and more
Project VBA Book now in stock: visit
www.projectvbabook.com