Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Julie,
Is there something in the spreadsheet that signifies "EOF"? For instance if the Column A of the sheet contains information in every row, scan throught the sheet to find an empty value in Column A. Below is an example of skipping over empty cells, you want to do the reverse.
lcSymbol = .Cells(lnRow, lnSymbolCol).VALUE
DO WHILE TYPE( 'lcSymbol' ) <> 'C' && skip over the empty cells
lnRow = lnRow + 1
lcSymbol = .Cells(lnRow, lnSymbolCol).VALUE
ENDDO
HTH,
Jacci
>I am programmatically saving an excel file to dbf format. I do not know how many rows will be in the spreadsheet does anyone know how I can figure this out?
>
>Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement