+ Reply to Thread
Results 1 to 4 of 4

Copy header text and paste into a cell

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    gemestio are
    MS-Off Ver
    Excel 2010
    Posts
    53

    Arrow Copy header text and paste into a cell

    Hello guys,

    I want to copy a header text and paste it into a cell. I am using:

    Please Login or Register  to view this content.
    Problem is that this copies the header text formatting, i.e., what I get as a result is:

    &"Arial Narrow,Bold"&8Table 1. DIRECT LOANS: AVERAGE LOAN SIZE–continued&"Arial Narrow,Regular"
    (Dollars in hundreds)

    Is there a way to get rid of the formatting when I am copying the header value?

    Thanks!

    D.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Copy header text and paste into a cell

    In what cell is the header text you want? Assuming it is B1 and you want the text in A1:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-12-2012
    Location
    gemestio are
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Copy header text and paste into a cell

    It's the header of the page - the one that you see from the "Page Layout" view. It's not in a specific cell.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Copy header text and paste into a cell

    Ahh I see what you mean. I'm not sure if it is going to be able to recognize just text. You might be able to specifically pull out the information that you want using split or another function but that is going to take some time. Maybe someone else will have an easier way of doing it.

+ 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. [SOLVED] if cell contains text, then copy/paste on the next one
    By extremis in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-30-2013, 10:43 AM
  2. [SOLVED] Copy header and paste to multiple sheets
    By ATLGator in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-05-2013, 07:25 PM
  3. Lookup Value from List, Copy and Paste Under header
    By Neil4Speed in forum Excel General
    Replies: 4
    Last Post: 05-03-2010, 02:18 AM
  4. Paste text into a header
    By Danny Springer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-17-2005, 05:05 PM
  5. Copy & Paste Header/Footer?
    By CB Payne in forum Excel General
    Replies: 1
    Last Post: 05-19-2005, 12:36 PM

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