Macro to copy and paste specific values


New Member
Oct 24, 2017
[FONT=&quot]I volunteer for my local scout group and wish to create a report that shows which badges have been completed, which are in progress and which have not been started. This is to make building a program easier as we can see what badges to work around.[/FONT]
[FONT=&quot]Currently we use a system that allows us to download an excel spreadsheet that provides each badge on a separate worksheet and displays the required information as follows:[/FONT]
[FONT=&quot]| First Name | Last Name | Completed | Awarded Date | Req 1 | Req 2 | Req 3 |[/FONT]
[FONT=&quot]and the name of the worksheet is the badges name. The number of requirements vary per badge.

I currently have a macro that calculates the percentage completed of each badge based on the number of requirements with data in them. This puts the values in the next column after the last requirement.

I also have a macro that adds "percentage Completed" as a header above this.

After this, I made a macro that creates a new sheet at the end on the workbook and calls it "Final Report" that copies the names of the previous worksheets (the name of each badge) and pastes them along row 1 of "Final Report" starting at column C:


[FONT=&quot]What I am trying to do:[/FONT]
[FONT=&quot]I now what to copy the First and Last Names of each person and paste it in Columns A and B respectively of "Final Report"[/FONT]
[FONT=&quot]Then I want to copy the values of the Percentage Completed for each person and each badge and paste them in to the table in the respective areas.[/FONT]

Forum statistics

Latest member

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...