I am using OLE methods to generate an Excel spreadsheet using Lotusscript from information in a Notes database.
I have everything working, except there is one point when I need to re-arrange a couple of the worksheets, but I can’t figure out how to do it. The Excel script code is as follows:
Sheets(“Sheet4”).Move Before:=Sheets(2)
The problem is that Lotusscript doesn’t like that. It constantly errors on the :=, saying that it isn’t expecting that.