Share via

Requested view is not available

Anonymous
2013-10-09T00:01:36+00:00

Hi,

My debugger stopped at following line in the Mac-VBA throwing the error "Requested view is not available"

ActiveDocument.PrintPreview

ActiveDocument.ClosePrintPreview

Above code is working perfectly fine on the windows machine.

Is there any different layout or view for the mac ?

please let me know possible work around.

-Hardik

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

13 answers

Sort by: Most helpful
  1. Anonymous
    2013-10-16T19:00:39+00:00

    Hi Rich,

    But,whenever I m trying to use PrintPreview method on mac, it is listed on the suggestion, that is when I do ActiveDocumet.(control+space), it shows me PrintPreview method. But it seems, Document is not able to use it

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-10-11T17:50:53+00:00

    ok, thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-10-10T22:42:56+00:00

    Is there any similar method or some workaround for the office 2011 VBA?

    -Hardik

    Not that I am aware of.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-10-10T22:13:32+00:00

    Hi Rich,

    Thank you for the reply,

    Is there any similar method or some workaround for the office 2011 VBA?

    -Hardik

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2013-10-09T01:12:31+00:00

    Hi Hardik,

    Office 2011 does not have a PrintPreview method. The function is performed by the Preview app of OS X, so the method is not implemented in Office 2011 VBA.

    Was this answer helpful?

    0 comments No comments