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

PB OLE Control for Excel...

Status
Not open for further replies.

groupereater

Programmer
Jun 25, 2008
3
US
Hello all,

I have the need to display an Excel spreadsheet within a PB window (or several spreadsheets on different tabs). I would prefer to have at least the basic Excel functionality, such as filtering, sorting, etc.

I have used OLE objects in the past to open Excel documents outside of my PB app, but in this case I would truly prefer to display the Excel data via an OLE control, as I will be programmatically taking subsets of the data and merging them into a PDF during runtime. I already have that part done, but simply trying to open/display a spreadsheet in an ole control is driving me nuts. Despite spending countless hours searching, I can't find any decent examples where others have done this. Yes, many examples using an OLEObjects and opening the spreadsheet outside of PB, but not one where they are actually using an Excel OLE control placed on a window or other PB object.

I can see a few different insertable Excel OLE controls available, but cannot seem to interact with them successfully. I am using PB 11.5 and Office 2007.

So if anyone can direct me to an example where an OLE Control is displaying Excel data inside a PB app I would truly appreciate it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top