Fill Across Sheets Method

     

  • Through this method we can copy our required data from one sheets to multiple sheets in same range
  •  

    Function fillacrosssheets()
    'sheet 2 must include in list of array worksheeets
    Total = Array("sheet2", "sheet3", "sheet4", "sheet5", "sheet6")
    'Data from C7:G9 of sheet2 copied and paste into array sheets
    Sheets(Total).fillacrosssheets Worksheets("sheet2").Range("C7:G9")
    End Function

     

     

     

    Fill Across All Sheets in Active Workbook

     

     

    Private Sub CommandButton1_Click()
    Range("A1:D5").Interior.ColorIndex = 5
    Worksheets.FillAcrossSheets (Sheets("Sheet2").Range("A1:D5"))
    End Sub