Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Marcel Spillker
Posted - 06/03/2008 : 06:14:34 AM Origin Version (Select Help-->About Origin): Origin 8 SR1 v.8.0773 Operating System:XP
Hello!
IŽd like to show the filename and the path on my graph. for this I use the following expressions in VBA: OriginApp.Execute ("text1.text$ = \v(" & strPath & strName & ".opj)") ebSaveFileName = OriginApp.LTStr("%Y") + OriginApp.LTStr("%G") OriginApp.Execute ("text2.text$ = " & "\v(" & ebSaveFileName & ".opj)") It works fine! But in Origin the text is shown without the "space" between the letters. For example: path + filename = A:\BB bb\CCC ccc.opj Origin Text will be: A:\BBbb\CCCccc.opj Is it posible to show the text in the right way?