D
dancer
In the following code I want to have the program ask me what range and then
substitute that range for "Dasher_accounts".
How?
For Each cell In ThisWorkbook.Sheets("lists") _
.Range("Dasher_accounts").Cells.SpecialCells(xlCellTypeConstants)
ThisWorkbook.Sheets("Sheet1").Range("crit_cell").Value = cell.Value
make_chart
ActiveWorkbook.Worksheets("Sheet2").ChartObjects("Chart 1").Chart.Export
_
Filename:=Fname, FilterName:="GIF"
.Attachments.Add Fname
Next cell
substitute that range for "Dasher_accounts".
How?
For Each cell In ThisWorkbook.Sheets("lists") _
.Range("Dasher_accounts").Cells.SpecialCells(xlCellTypeConstants)
ThisWorkbook.Sheets("Sheet1").Range("crit_cell").Value = cell.Value
make_chart
ActiveWorkbook.Worksheets("Sheet2").ChartObjects("Chart 1").Chart.Export
_
Filename:=Fname, FilterName:="GIF"
.Attachments.Add Fname
Next cell