Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel #value! error

Status
Not open for further replies.

xenomage

Programmer
Jun 27, 2001
98
SG
Hi all,

PLEASE HELP!!!

i'm using SQL Server and trying to place a string into an excel file like so.

objExcel.Range("A1") = rstMain("str")

This works fine if the string "rstMain('str')" is shorter than 255. But, if the string is more than 255, the cell in excel becomes a stupid #value!.

How can i solve this. PLEASE HELP!!

xenomage
 
May be SQL Server driver fault (KB Q170218 mentions something like your problem). Try upgrading driver.

M.
 
hi M.

can provide me with a link to that article??

xenomage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top