Ask the Expert

Filling Excel spreadsheets using OLE

I use OLE to fill cells in Excel with data from our SAP system. The only problem with this arrangement is performance. Is there an alternate method for transferring data to an Excel spreadsheet? In other words, we don't want to fill the spreadsheet cell by cell, but paste it into a range. Where can I find a reference for the call methods for Excel?

    Requires Free Membership to View

Each OLE call has its overhead. One solution may be to write a macro for Excel that receives data in one method call. With that approach, everything is handled at the Excel end. As for call methods for Excel, you need to look at the VBA reference help in Excel.

This was first published in October 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: