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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help with variables

Status
Not open for further replies.

kchanbs

Programmer
Mar 17, 2004
5
US
Hi All,

I'm fairly new to VB and I'm getting "variable not defined" errors on variables like msoTextOrientationHorizontal, msoTrue, msoFalse...seems like anything with "mso" I'm getting an error. What are these variables? Is there a setting, maybe in "project->references", that I need to set?

Thanks.
 
Hi,

Seems like you are missing a reference to the MS Office OBject library.

In menu item Tools/References, search for and select the latest MS Office object library

:)

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Add 'Microsoft Office Object Library' in Project->References

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top