Sub Main_11
DIm oArray(3) As String
oArray(0)="Sheet1"
oArray(1)="Sheet2"
oArray(2)="Sheet3"
oDoc=ThisComponent
oController=oDoc.getCurrentController()
oSheets=oDoc.getSheets()
for i=0 to 2 step 1
oController.setActiveSheet(oSheets.getByName(oArray(i)))
next i
End sub
沒有留言:
張貼留言