error: ERROR: Describe error: The Microsoft Jet database engine could not find the object
''AC Production_Pavan$'$A2:AP100'. Make sure the object exists and that you spell its name and the
path name correctly.
ERROR: Import unsuccessful. See SAS Log for details.NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used:
real time 0.79 seconds
cpu time 0.11 seconds
i am trying to import one excel sheet in which var names are in 2nd row and data is starting from 3rd row. i am using sas 8.2.
It would be most helpful for you to share the expanded SAS log output revealing more about the SAS processing, much as the SAS diagnostic message states, "See SAS Log for details."
Post a reply with the relevant SAS-generated DATA step processing and I expect there will be some particular diagnostic information there -- also you may want to investigate the XLS document as well for possible issues.
if i have removed the space(between AC and Production) and single quotes which are inside double quotes from sheet name " 'AC Production_Pavan$' ",
means if i will keep as "ACProduction_Pavan$", i am getting the result without any errors.
here i understud that becas of spaces with in the sheet name, they have kept single quotes within double quotes. If i will remove single quotes without removing the space, also i am getting wrong result.
so, now our issues is that how i can read sheet name which contains spaces?
Have a look at the DOC - both SHEET= and RANGE= parameters can be enclosed in double-quotes. Also there is some mention about coding the trailing "$" for the sheet, which you may want to also review for relevance.