I am currently creating a script that will read data in one (to many) Excel spreadsheet(s) and would like to know how to get a count of the number of spreadsheets entered by the user. The script will only read the data in the GISData$ sheet of each spreadsheet file. So far I have the below code but need something to replace 'rowCount' as this doesn't seem to be working. I would like to just get a count of the number of spreadsheets selected.
spreadsheets = arcpy.GetParameter(1)
for idx in range(0, spreadsheets.rowCount):
input_spreadsheet = str(spreadsheets.getValue(idx,0))
input_spreadsheet += r"\GISData$
...do something...
Thanks in advance.