Click here to Skip to main content
15,908,673 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I want to copy sheet1 data to sheet2 with some particular range. like below

sheet1 data

1 John 123
2 Max 235
3 Steve 265

Sheet2 have 3 header

Sno Name ID

Expecting :

in Sheet2


Sno Name ID
1 John 123
2 Max 235
3 Steve 265

What I have tried:

Formula1 formula = new Formula1();

                   formula.Text = "'Sheet1'!$A$1:$C$1";
                   sdInput.Append(formula);


Not sure this is correct or not
Posted
Updated 7-Jan-18 1:36am

1 solution

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