Origin Version (Select Help-->About Origin): 6.1 Operating System: Windows 2000
Hello to all,
I have a problem with the doc -cw command. I´m trying to count all worksheets within the project using
doc -cw; var = count;
This command works fine as long as I don't create a new worksheet. after creation of a new worksheet the command returns a wrong value. For instance, if I create a single, empty worksheet and count the number of worksheets, the command returns the value 2 instead of 1.
I didn´t find any similar problems within this forum. Does someone know how exactly the command works and if there is a way to get the correct number of worksheets?
it wasn´t a problem of reinitiating the variable, rather a problem of the program itself. After I installed the service release 4 i didn´t encounter the problem anymore. I didn´t know that this service release wasn´t installed on this computer.