| T O P I C R E V I E W |
| superklee |
Posted - 01/07/2005 : 05:22:26 AM 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?
I appreciate your help.
Anita
|
| 2 L A T E S T R E P L I E S (Newest First) |
| superklee |
Posted - 01/10/2005 : 04:13:18 AM Thanks Mike,
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.
Anita |
| Mike Buess |
Posted - 01/07/2005 : 07:35:53 AM Hi Anita,
I can't reproduce that problem in Origin 6.1 SR4. When I try doc -cw it always gives me the true worksheet count.
...Perhaps you're forgetting to redefine var=count each time. That's not done automatically.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 01/07/2005 08:53:11 AM |