+ Reply to Thread
Results 1 to 3 of 3

My Word doc appears to print but nothing actually happens

  1. #1
    Registered User
    Join Date
    02-23-2020
    Location
    United Kingdom
    MS-Off Ver
    2019
    Posts
    2

    My Word doc appears to print but nothing actually happens

    I'm only a beginner to VBA so I'm stumped at this problem. I made a spreadsheet with a button on it to perform some task.
    When i click the button to perform the task my generated document goes through the motion of printing but nothing happens. no errors appear.
    when i set the printer to print to pdf it generates a document but when opened it comes with an error saying "Adobe Acrobat Reader could not open '1.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correcly decoded)."

    My code is as follows:
    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer


    Any help would be super appreciated. Thanks in advance.
    Last edited by 6StringJazzer; 03-07-2020 at 09:56 AM. Reason: Cleaned up title

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: My Word doc appears to print but nothing actually happens

    Hi Sam and welcome to the forum,

    Do you have a number in the "I2" cell of your workbook? Put a number one (1) in I2 and try it again. If that doesn't work keep asking.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-23-2020
    Location
    United Kingdom
    MS-Off Ver
    2019
    Posts
    2

    Re: My Word doc appears to print but nothing actually happens

    Thanks for the reply. A number is in i2. It shows an error if I don't have a number in the cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. show sheet when it appears the print dialog box
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-11-2018, 08:11 PM
  2. Match a value and check if it appears within a table and shade if it appears
    By khanaran in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2017, 10:19 AM
  3. Replies: 5
    Last Post: 04-23-2013, 05:11 PM
  4. Replies: 4
    Last Post: 12-27-2011, 06:20 PM
  5. Replies: 1
    Last Post: 05-15-2006, 11:35 AM
  6. Replies: 2
    Last Post: 11-07-2005, 05:10 AM
  7. Clip art used appears on screen but does not print
    By texnckn in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-17-2005, 06:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1