Click here to Skip to main content
15,891,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I assigned the text to the excel cell(i.e cell[1,1].Text="1,2,3,4,5") like,
C#
"\""+ cellValue.ToString()+"\""

I need to assign "1,2,3,5,2,6" to a single cell i.e;A1

It's not working.
Posted
Updated 10-Feb-13 22:27pm
v5
Comments
Kiran Susarla 5-Feb-13 2:47am    
Can you please elaborate your question using Improve Question Widget.

1 solution

Use this
VB
ActiveCell.FormulaR1C1 = "1,2,3,5,2,6"
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900