Results 1 to 12 of 12

VBA to print based on cell value

Threaded View

  1. #1
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    VBA to print based on cell value

    Hi

    I want to print X copies of worksheet 1 based on a qty in a cell C3

    Then to Print X copies of worksheet 2 based on cell C4

    But if cell C3 is blank i still want to print worksheet 2

    but when i run the macro i get a error because there is no value in C3

    Can anyone advise me on how to get the macro to continue if C3 is blank?

    Thank you any help / advice you can give

    Please note macro im using on Sheet 3 of the attachment
    Attached Files Attached Files
    Last edited by Morleyb; 04-09-2020 at 05:46 AM. Reason: Attachment added

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Print Certain Worksheets Based On Cell Value In Each
    By Gtrtim112 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-22-2019, 04:44 PM
  2. Print first 5 pdf files based on cell value
    By F1ash in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-22-2018, 01:00 PM
  3. VBA - Print Worksheets Based on Cell Value
    By Hazelnut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2018, 06:48 PM
  4. Print pdf file by based on cell value
    By serious123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2015, 08:02 AM
  5. VBA - Print Worksheets Based on Cell Value
    By thesonofdarwin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-19-2012, 02:59 PM
  6. print a report based on cell value
    By excelluni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2009, 07:57 AM
  7. Sort and print based on Cell Value
    By jamesstorx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2009, 07:58 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