I don't know if this will solve your problem. But personally I know that it prints my active page when I do so.
On the other hand, maybe I'm a little touchy, maybe it's badly worded on your part... In any case , I'm sure it's not voluntary on your part. But you should be careful about the tone you use through your words. :)
I just downloaded it and I was able to get this code from it:
For i = 0 To UBound(vSheetNames) If vSheetNames(i) = SheetName Then MsgBox ("Print" + Str(i)) Model.Extension.PrintOut2 i + 1, 1, False, "", "" Exit For Else MsgBox ("Not this page") End If Next i
but unfortunately it doesn't work, and that's because of the "pageArray", because this code works: