Hi AJL,
Currently it is not possible to set VIEW flags via script. But, if your customer has selected the band width you know all necessary parameters.
View.ActiveSheet.Cursor.X1
View.ActiveSheet.Cursor.X2
With pno you can determine the row in a data channel with contents closest to a given value. Example:
iRowStart = pno(NameOfXChannel, View.ActiveSheet.Cursor.X1)
iRowStop = pno(NameOfXChannel, View.ActiveSheet.Cursor.X2)
Then you can use DataBlCopy to copy the selected area.
Greetings
Walter