Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > Printing a spreadsheet object


Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2005, 06:06 AM
ryan230880's Avatar
ryan230880 ryan230880 is offline
Regular
 
Join Date: Jan 2005
Location: Scotland
Posts: 62
Default Printing a spreadsheet object


Hi, I have a "Microsoft Office Spreadsheet 10.0" object on my form and I was wondering if it was possible to print and save it. I have looked under msdn for printing and have tried print and printout with no luck. Any help would be appreciated.

Also Is there anywhere I can find out what methods and properties are available to use with this object as msdn does not seem to contain any info on it.

Thanks Ryan.
Reply With Quote
  #2  
Old 05-06-2005, 08:30 AM
Mike Rosenblum's Avatar
Mike Rosenblum Mike Rosenblum is offline
Microsoft Excel MVP

Forum Leader
* Guru *
 
Join Date: Jul 2003
Location: New York, NY, USA
Posts: 7,848
Default

There doesn't seem to be a .Print or .PrintOut method.

This is odd, since it really does handle a lot. Lacking this is surprising...

To find the features of this Object, use your object browser. In particular, restrict the Libraries from "<All Libraries>" to be "OWC10" and youll get the Members for this Control only.

,
Mike
__________________
My Articles:
| Excel from .NET | Excel RibbonX using VBA | Excel from VB6 | CVErr in .NET | MVP |
Avatar by Lebb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->