The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Auto fill a column with multiple sheet datas ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

polal2is

France
Posts

Posted - 05/26/2008 :  12:31:05 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (8 Pro SR2):
Operating System:(Vista SP1)

Hi, I'd like to know how can I store datas from several sheets in the same column in order to put results of several calculations together without having to copy paste manually.

For example

[Book1]Sheet1!Col(1)[1] --> [Result]Sheet1!Col(1)[1]
[Book2]Sheet1!Col(1)[1] --> [Result]Sheet1!Col(1)[2]
. .
. .
. .
[Booki]Sheet1!Col(1)[1] --> [Result]Sheet1!Col(1)[i]

" --> " = " stored in "

Thanks


Edited by - polal2is on 05/26/2008 12:32:13 PM

larry_lan

China
Posts

Posted - 05/27/2008 :  04:16:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi:

Maybe you can write some script like:

for(ii=1; ii<=3; ii++)
{
range source = [book$(ii)]sheet1!col(1);
range output = [Result]sheet1!col(1);
output[ii] = source[1];
}


Thanks
Larry
OriginLab Technical Services
Go to Top of Page

polal2is

France
Posts

Posted - 05/27/2008 :  04:56:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot it gives me an Answer two my two posts thanks

for(ii=1; ii<=200; ii++)
{
range source = [book1]sheet1!col(1);
range output = [book3]sheet1!col(2);
output[ii] = source[ii+1];
}

for this problem is working fine
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000