ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Extra E-Mail in a Column Q (https://www.excelbanter.com/excel-programming/431065-extra-e-mail-column-q.html)

Seanie

Extra E-Mail in a Column Q
 
I have the code below (ex Ron de Bruin) which attempts to extract all
e-mail addresses in column BJ, my problem is that the values in BJ are
formula based and thus it debugs, if I manually type an address in BJ
it works fine, how could I tweak below?

Thanks


For Each cell In ThisWorkbook.Sheets("XYZ") _
.Columns("BJ").Cells.SpecialCells(xlCellTypeConsta nts)
If cell.Value Like "?*@?*.?*" Then
strto = strto & cell.Value & ";"
End If


All times are GMT +1. The time now is 02:15 AM.

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