Question

'stylesheet1$' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.

This is the exact VBscript Runtime error .. please help

Was it helpful?

Solution

stylesheet1 is an odd name for a sheet within an Excel book. Are you sure that you specify a valid name? Most probably, the valid name is just Sheet1.

  Call DDT.ExcelDriver("d:\Book1.xlsx", "Sheet1", true)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top