Hello,
There is a typo in the last line. It should be a lower case n in Rename
We will check if the documentation still says it is upper case N.
By the way, it is not necessary for you to include all those .h files in your code. The ones you have listed are all part of Origin.h and so it is sufficient only to include Origin.h
Easwar
OriginLab.
#include <origin.h>
void reorgpro()
{
Worksheet wks;
wks.Create();
string WinName = "Results";
wks.GetPage().Rename(WinName);
}
Edited by - easwar on 10/30/2002 10:38:19 AM