I have MS12 the latest version and MS14 the current version. I was writing (still am) a macro. Below is an excerpt from said macro. I get different results between the two versions of MS. In version 12 my macro works as expected. In MS14 I get an error. Which I tracked down to being the sample script provided here. In other words this is the problem.
What the error is, is in version 12 IndexCardData keeps it's value even after the separate command. In version 14, for some reason, it does not keep it's value. It turns into an empty string. But before Separate it has the expected value.
I'm sorry, maybe I shouldn't refer to it as an error just yet, but for lack of a better word.
The error is easily fixed. Add one line of code and presto. But one line of code doesn't answer if it's just my computer, if the change was intentional, or the reason behind the change.
As you have likely figured out, this is a Marcus question more so than anyone else. But maybe if you try it, you might get a different result and be able to post it.
Ok, Marcus, here's the code.
Code: Select all
LabelToVar>IndexCard_Data,IndexCardData
mdl>%IndexCardData%
Separate>IndexCardData,;,IndexCardData
mdl>%IndexCardData%
/*
IndexCard_Data:
4337;4611;5108;4395;3419;2395;7050;2657;3880;4476;4454;3084;2307;3772;4090;4575;3874;3458;1922;6475;2178;3371;3955;4876;3476;2681;3608;3873;4352;3657;2717;1729;6231;1982;3160;3738;4198;2933;2075;3301;4403;4894;4187;3765;2211;6815;2470;3678;4268;4692;3307;2521;
*/
Captain Obvious
a.k.a
PepsiHog
.............and Thanks!