groupereater
Programmer
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!
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!