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
 How to add automatic numbering
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zango24

India
Posts

Posted - 02/05/2008 :  1:22:13 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System:windows xp

Hello all,
I would like to ask a simple question that how to add automatic numbers starting from 1 to around 3000 for example in column A.

I have no values in column B or any columns as such, but I want to add in column A increasing numbers like 1,2,3,4,5,6,......3000.

Help in terms of short script is a great desire :-)

Thanks in advance,
Zan

greg

USA
1378 Posts

Posted - 02/05/2008 :  1:49:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
(1) Use Set Column Values :
Select your column, right-click and choose Set Column Values.
Enter i as the expression and 3000 as the 'To' value. Click OK.
(2) Use script such as:
col(A) = data(1,3000,1);
or
col(A) = data(1,3000);



Go to Top of Page

zango24

India
Posts

Posted - 02/05/2008 :  2:04:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks
:-)
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