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
 Column Label Rows: setting and treating as text
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 06/02/2020 :  11:59:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2020b (64-bit) 9.7.5.184
Windows 7 Pro x64 SP1

Greetings!

If I put value "01" in a custom (user) Column Label Row is automatically treated by Origin as a number, but not as a text.
How do I set it to be a text, instead of a number?

Thank you.


---
AK

AKazak

Russia
1205 Posts

Posted - 06/02/2020 :  12:23:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In other words: how do I force text in a Column Label Row cell.
My test shows that Origin treats any numeric-like value as a number:



---
AK

Edited by - AKazak on 06/02/2020 12:37:15 PM
Go to Top of Page

YimingChen

1630 Posts

Posted - 06/02/2020 :  4:07:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Can you first change column format to Text?

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 06/03/2020 :  07:02:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

Hi,

Can you first change column format to Text?

James



It works if I change the column's format to Text.
However, if I revert to format setting back to Text & Numeric, I get the same as on the screenshot above.


---
AK
Go to Top of Page

Castiel

343 Posts

Posted - 06/05/2020 :  06:37:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by AKazak

quote:
Originally posted by YimingChen

Hi,

Can you first change column format to Text?

James



It works if I change the column's format to Text.
However, if I revert to format setting back to Text & Numeric, I get the same as on the screenshot above.


---
AK



If the rows range is fixed, you can leave the F(x) empty and set column values in "Before Formula Scripts":

for(int i = 1; i <= 9; i++)
{
    Cell(i, j)$ = wcol(j)[Test]$;
}



                                          &&&&&&&&&
                                        &&&
                                       &&
                                      &  _____ ___________
                                     II__|[] | |   I I   |
                                    |        |_|_  I I  _|
                                   < OO----OOO   OO---OO
**********************************************************
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