Dynadot โ€” .com Registration $8.99

Parsing Excel with ASP

Spaceship Spaceship
Watch

stscac

A Wealth of KnowledgeVIP Member
Impact
73
Looking for a hand parsing Excel with ASP. I just started to work with ASP this month and now I've been assigned stuff like the following. Probably not too hard for someone that knows ASP in and out, but for me ;)

Code:
strSQL = "SELECT * FROM A1:Z200 WHERE The_Number <> 'Number 6'"

The_Number is a defined cell in excel. I have replaced the actual contents with "The_Number" to protect the integrity of my employer.

The error is 0x80040E10 "Too Few Parameters"

I'll be giving a small bounty to the person that gets this to work. Reply and I will get back to you.

:tu:

-Steve
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I'm confused with what The_Number really is...if it's just a header name, you probably have something wrong. Try using the column index, like "...WHERE B <> 'Number 6'.

Did you somewhere else in the code map that column index to the index in the excel file?
 
0
•••
Still looking for answers. :tu:

-Steve
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back