+ Reply to Thread
Results 1 to 3 of 3

Variable end row for printout macro?

  1. #1
    Forum Contributor
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2013
    Posts
    131

    Variable end row for printout macro?

    Howdy! I feel like this has a super simple solution that I can't figure out.
    Please Login or Register  to view this content.
    This code works great to print out a range of names using a static template. My only issue is that I have to manually update the range currently, meaning if there are 16 names, I currently have to specify .Range("B1:B16"). I know there's a way to streamline this so that it automatically knows to end when it finds the first blank in the series, but I'm not sure how to write that out? Any help would be appreciated! Worst case I'll just update it manually

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Variable end row for printout macro?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2013
    Posts
    131

    Re: Variable end row for printout macro?

    Quote Originally Posted by AB33 View Post
    Please Login or Register  to view this content.
    Awesome, thanks! That works like a charm, and I think I can see what it's doing so I know how to use it in the future also. Win win!

+ 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. macro to produce paramterized customized printout
    By dostl_ba in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2014, 06:58 AM
  2. Printout Macro
    By Dibbley247 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2013, 09:32 AM
  3. printout macro issue
    By sick stigma in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2012, 02:16 AM
  4. Change pdf printout destination using vba macro
    By dietzj1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2010, 01:47 PM
  5. Variable Word URL Printout
    By Lexx Diggler in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-28-2008, 03:53 AM
  6. [SOLVED] Macro To Printout Worksheets Crashes
    By Martin Fishlock in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-29-2005, 12:35 PM
  7. [SOLVED] PrintOut Method, Set ActivePrinter with a variable
    By Neuraxis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2005, 08:06 AM

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