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中文论坛
 Origin 中文论坛 (Chinese Origin Forum)
 如何使用Range Notation引用数据

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 [?]

 
   

T O P I C    R E V I E W
vickey Posted - 05/17/2016 : 05:25:50 AM
1. 引用工作簿
a. 直接引用
range rPage1 = [Book1]; // Book1是工作簿窗口的Short Name
range rPage2 = ["MyBook"]; // MyBook是工作簿窗口的Long Name
b. 利用%H
range rPage3 = [%H]; // %H 是系统字符串,表示当前窗口Short Name
c. 利用string variable
string strBookName$ = %H; // strBookName 存储了当前窗口的Short Name
range rPage4 = [%(strBookName$)];


持续更新~
敬请期待!

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