General information
Category:
COM/DCOM and 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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only