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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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:
Hope this helps!