Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
bnebenda
Posted - 04/02/2003 : 11:37:33 AM Is there a way to reload the file into the current worksheet after the file has changed, without the need to select the file again with the fileselector?
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 04/02/2003 : 12:30:50 PM If the file name and path don't already show up in the worksheet label then open ASCII options, click Other Options and select the "Rename worksheet to data file name" option. Then save the template. Now you can use the worksheet label to save the file name and path and reopen the file with a macro like this...
def reload { %A=page.label$; open -w %A; };
1. Enter the above macro definition in the script window. (It will be active for the remainder of your Origin session.) 2. Import a file as usual. 3. With the import worksheet active, enter "reload" in the script window to import the same file.