Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 9.0.0 (64-bit) SR2 Operating System: Windows
First off I want to say I am NOT a programmer. I only do this on an as needed basis.
I have several sheets in a book with 4 columns and one row of data (computed data in Origin). I need to take this data and place rows from each of the different sheets into one sheet of 4 columns and rows of the data to be able to plot. (or I think I do)
The script adds a newsheet to your workbook and copies one row of four columns of data from each of the pre-existing sheets to this new sheet.
With your Workbook active, copy and paste the script to the Command Window and press Enter.
If you need to copy more than one row from each sheet you need to modify the r2 argument (the number of rows to copy) and the dr1 argument (the destination for the next block of data).
It isn't clear from your post what's wrong. Maybe you should send your project file and script to tech at originlab.com. By the way, there is an option to make sure the column format is copied as well format:=1