ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   help with Unmerged cells that need linking back - populate rows (https://www.excelbanter.com/excel-programming/388691-help-unmerged-cells-need-linking-back-populate-rows.html)

fishy

help with Unmerged cells that need linking back - populate rows
 
I have a report that when unmerged looks like this:
User Name Branch Leads Other Leads Total Leads
Organisation
Agent x 0 0 0
Area 1
1 0 1
Area 2
1 0 1
Total
I am trying to produce an agent report for each area with user name, area
and the three figures. (delete the total row).
Any clues?

joel

help with Unmerged cells that need linking back - populate rows
 
Sub findtotal()
With Worksheets("Sheet3").Range("A1:Z1000")
Set c = .Find("Total", LookIn:=xlValues)
If Not c Is Nothing Then
c.EntireRow.Delete
End If
End With

End Sub

"fishy" wrote:

I have a report that when unmerged looks like this:
User Name Branch Leads Other Leads Total Leads
Organisation
Agent x 0 0 0
Area 1
1 0 1
Area 2
1 0 1
Total
I am trying to produce an agent report for each area with user name, area
and the three figures. (delete the total row).
Any clues?



All times are GMT +1. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com