Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Excel Object From Another Form

Status
Not open for further replies.

frankR40

Programmer
Feb 3, 2004
3
US
If I create an Excel Object, workbook, sheet, etc. on one form, how do I access that object instance from another form. I keep getting an object required error, I'm not sure about the snytax.

Thanks for the help.
 
Declare it as a public variable, and use form1.myExcelObj...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top