I've had some success this evening. I got a Macro which will eliminate the dividend payout row I don't want, and shifts up all the data below it. However, I need to click it every time I want to remove that dividend payout row (and every time I refresh the web queries the dividend payout row reappears). For my case where I have LOT of data on multiple sheets and with frequent refreshes of the web queries it's not feasible to click the Macro function every time. Here's the Macro I currently have below:
Sub Macro1()
'
' Macro1 Macro
'
'
Cells.Find(What:="dividend", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range(ActiveCell.Offset(0, -1), ActiveCell.Offset(0, 5)).Select
Selection.Delete Shift:=xlUp
End Sub
How can I make this a one-click Macro or even an automatic Macro any time I need to refresh the data set?
I uploaded the spreadsheet to Google Drive should anyone like to download the current file.
Bookmarks