Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Create Printer Error for testing purposes

  1. #11
    MrExcel MVP
    Moderator
    xenou's Avatar
    Join Date
    Mar 2007
    Location
    Clev. OH, USA
    Posts
    16,371
    Post Thanks / Like
    Mentioned
    10 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Create Printer Error for testing purposes

    Raising errors:
    https://docs.microsoft.com/en-us/off...p/raise-method


    this also works:
    Code:
    dim i as Long
    i = 1/0
    Last edited by xenou; Jun 18th, 2019 at 11:12 AM.

    Using: Office 2010/Win7 (work) Office 2010/Win7 (home)

    You are rich in proportion to the number of things you can let alone.
    -- Henry David Thoreau

  2. #12
    New Member
    Join Date
    Jun 2019
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Create Printer Error for testing purposes

    Thank you all. I finally have the err.raise method working.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •