+ Reply to Thread
Results 1 to 3 of 3

Using R1C1 Format to Define Print Range

  1. #1
    Forum Contributor
    Join Date
    10-25-2010
    Location
    Phoenix, Arizona, USA
    MS-Off Ver
    O365
    Posts
    201

    Using R1C1 Format to Define Print Range

    I am working with my departments work schedule.

    Columns are each day of the year, and rows are each workers work schedule.

    I allow the user to select the print range by using a UserForm.

    The UserForm has selection criteria of what work group the user wants to print, and 2 dropdown boxes that allow selection of date start and date end.

    Based on the user's selections, I am able to determine what Rows and which Columns need to be printed.

    However, the Columns are based on number, not Alphabetic.

    Thus my question...

    Is it possible to define the PrintArea using R1C1 format?

    Or is there a simple way of converting the Column Numbers to their respective Alphabetic symbol (ie. 3 would be C, 8 would be H, and 308 would be KV)?

    Thanks.
    Last edited by PosseJohn; 10-29-2011 at 03:11 AM.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Using R1C1 Format to Define Print Range

    You could use this code to obtain column address in letters:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Forum Contributor
    Join Date
    10-25-2010
    Location
    Phoenix, Arizona, USA
    MS-Off Ver
    O365
    Posts
    201

    Re: Using R1C1 Format to Define Print Range

    That worked GREAT!! Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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