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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 fill a column comment with workbook name

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
thitchen Posted - 07/19/2012 : 9:17:42 PM
Origin Ver. 8.6 and Service Release 2(Select Help-->About Origin):
Operating System: win 7 pro

Hi, I need one line of code to fill a column comment with workbook name:

doc -ef W {
int ncols =wks.ncols;

//col(ncols).comment = workbook.name

}
How do I write that code, please?
Any help is appreciated, thanks!
3   L A T E S T    R E P L I E S    (Newest First)
thitchen Posted - 07/19/2012 : 10:54:10 PM
col(Mean)[C]$=page.longname$;

yeah, this works.
thitchen Posted - 07/19/2012 : 10:45:39 PM
col(Mean)[C]$=%(@WL);

this is not right either
quote:
Originally posted by thitchen

col(ncols)[C]$=%H;

this will give short name, but not long name, please help.

quote:
Originally posted by thitchen

Origin Ver. 8.6 and Service Release 2(Select Help-->About Origin):
Operating System: win 7 pro

Hi, I need one line of code to fill a column comment with workbook name:

doc -ef W {
int ncols =wks.ncols;

//col(ncols).comment = workbook.name

}
How do I write that code, please?
Any help is appreciated, thanks!



thitchen Posted - 07/19/2012 : 9:57:48 PM
col(ncols)[C]$=%H;

this will give short name, but not long name, please help.

quote:
Originally posted by thitchen

Origin Ver. 8.6 and Service Release 2(Select Help-->About Origin):
Operating System: win 7 pro

Hi, I need one line of code to fill a column comment with workbook name:

doc -ef W {
int ncols =wks.ncols;

//col(ncols).comment = workbook.name

}
How do I write that code, please?
Any help is appreciated, thanks!


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000