+ Reply to Thread
Results 1 to 4 of 4

Print area (defined by indices).

  1. #1
    Registered User
    Join Date
    06-03-2020
    Location
    Spain
    MS-Off Ver
    Office365
    Posts
    2

    Print area (defined by indices).

    Hi.

    I use this function to print the printArea of a Sheet, and save it as PDF file. Now i want to specify the print area, using 4 integers (row ini, col ini, rol final, col final) (different name in the vab. I know). I donīt know how to change the subroutine, to print only the range I want.



    Please Login or Register  to view this content.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Print area (defined by indices).

    Try...
    Please Login or Register  to view this content.
    Last edited by dangelor; 06-03-2020 at 07:37 AM.

  3. #3
    Registered User
    Join Date
    06-03-2020
    Location
    Spain
    MS-Off Ver
    Office365
    Posts
    2

    Re: Print area (defined by indices).

    Seems to work!!! Wonderful

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Print area (defined by indices).

    Glad to help!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. print area defined
    By up4asmile in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2014, 04:22 PM
  2. Correct VBA Code to Print Defined Print Area
    By newqueen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-27-2014, 04:31 PM
  3. [SOLVED] Saving a Print Area as PDF onto a user defined folder location
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-10-2013, 10:27 AM
  4. Need macro to define print area after filter is run
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 02:42 PM
  5. How do you create a user defined print area in a sheet using Macros?
    By iCe222 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 05:58 PM
  6. Replies: 8
    Last Post: 05-23-2007, 06:39 AM
  7. Extra Row in Defined Print Area
    By Harry Gordon in forum Excel General
    Replies: 3
    Last Post: 11-13-2005, 11: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