简体   繁体   中英

Copy string in several Excel Cells

I have problem with Excel, it is not to complex, but I hang here:

So, what I want to do is this:

I have a formular with a column, in this column stand a dynamic created string. For example this:

string example = "[CopyInCellA1][CopyInCellA2][CopyInCellA3]";

And I want to copy this value to put this in excel, like I have written in the[...] As separator I have use a ',' and a '\\t' , but they copy still the data in one cell.

Some good ideas.

Use the "Text to Columns" command on the data ribbon and easier to use a "," as separator.

HOwever this wont work off a formula, it has to be real text. Can the user do a Copy and Paste Special - Values first?

Then the Text to Columns command will work. It will split the data according to the separator that you specify.

Wing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM