Marcel Spillker
Germany
Posts |
Posted - 06/03/2008 : 06:14:34 AM
|
Origin Version (Select Help-->About Origin): Origin 8 SR1 v.8.0773 Operating System:XP
Hello!
Id 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? |
|