Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8941621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:20:56+00:00 2026-06-15T11:20:56+00:00

In Excel 2010 there is an option to repeat row Labels How can i

  • 0

In Excel 2010 there is an option to repeat row Labels
How can i do this in excel 2007 using Macro, Vba or C# ?

PS: i cannot do this manually(Copy paste) as it must be automated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:20:57+00:00Added an answer on June 15, 2026 at 11:20 am

    had the same problem just yesterday while converting a VBA programm to run on Excel 2007.

    Here is my solution in words:
    Select the row or header labels that you want to fill, then use SpecialCells to select only blank cells. Put in R1C1 Formula to copy prior cell, then copy only the values. The on error resume next is there in case there are no blank cells.

    Here is my answer in code:

        On Error Resume Next
        With .Range(.Cells(2, 1), .Cells(MaxRow, 1))
            .SpecialCells(xlCellTypeBlanks).Select
            Selection.FormulaR1C1 = "=R[-1]C"
            .Value = .Value
        End With
        On Error GoTo 0
    

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there there any code in Excel 2010 VBA that I can use to
Is there a method whereby columns in Excel (2003, 2007 and/or 2010) can be
This macro worked just fine before we updated to windows 7 and Excel 2010.
I wonder if there is an easy way to read Excel 2010 XML? This
How to get the current workbook file creation date using VBA in excel 2010?
For the record, I'm using Excel 2010. I'm trying to teach myself VBA for
Is there any way to query an excel 2010 spreadsheet, without using Jet or
I have a vba function in excel 2010 that I built using help from
Using Excel 2010 and SQL Server 2008 R2. I used import and export data
I'm using Excel 2010 to read some SQL data using an ODBC data connection.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.