|
> -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Michael Naughton > Sent: Tuesday, March 01, 2005 12:58 PM > To: RPG programming on the AS400 / iSeries > Subject: Re: Skipping Cells > > > I think I'm with Mark on this, although I'd like to know > better what you > mean by "grab some data from the AS/400 via an RPG program > and dump it > into an existing Excel spreadsheet". Will the data be dumped > as a block, > or can you monitor/control the flow with VBA? Does the existing > spreadsheet have other data in it that you don't want to disturb? However, you want. You've VBA module can use ODBC or OLEDB to get a results set from the iSeries (via an stored procedure call to an RPG program perhaps). Then do what ever you need to with the results set. Dump it as a block into the spreadsheet, or load a cell/row/column at a time from the cells/rows/columns of the results set. Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.