+ Reply to Thread
Results 1 to 3 of 3

Header Row Macro

  1. #1
    Registered User
    Join Date
    12-21-2011
    Location
    Peoria, IL
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Header Row Macro

    Please help!

    I am in need of some help. I am trying to insert a macro into my Excel sheet that will print a header that is two rows tall. I have used the code below just perfectly to get a header that is one row tall:

    Please Login or Register  to view this content.
    I haven't been able to get it to print two rows tall. I have tried Range ("t3:t4"). I have also tried inserting an extra line of code so I have two RightHeader lines. One line has the Range of T3 and one has the Range of T4. But when I do that, it only prints the T4 Range.

    I need something that is in Cell t3 to print in the header directly above what is in Cell t4.

    Help?

    Thanks!
    Last edited by BryanDevine; 12-21-2011 at 03:40 PM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Header Row Macro

    Did you try recording the macro for 2 rows tall?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    12-21-2011
    Location
    Peoria, IL
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Header Row Macro

    I am sorry, I am not very familiar with macros and am just learning how to use them. If you could show an example code of what you mean, that could help me.

    I am also working on trying to add a text string to a macro that prints data from a cell.

+ 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