Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The situation I had in mind Ron, is where my TO; CC and BCC addresses
are all in the same column |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
..Range("A3:AI5").Cells.SpecialCells(xlCellTypeCon stants)
-- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Sean" wrote in message ... The situation I had in mind Ron, is where my TO; CC and BCC addresses are all in the same column |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Wow Thanks Ron, its a simple as that
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ron I tried If Len(strcc) 0 Then strcc = Left(strcc, Len(strcc) -
1) but getting a message 'no cells found' on line For Each cell In ThisWorkbook.Sheets("Area 1") _ .Range("AI2:AI3").Cells.SpecialCells(xlCellTypeCon stants) Which is correct in that there is no address, but thats were I wish to have no e-mail address added to my mail (my TO field will always have an address, so it will be a vaild e-mail, just my CC and BCC feilds may not always have an address) |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ron, it maybe relevant but the e-mail addresses in the CC and BCC
feild are formula derived, as like ","") |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Sean
Use this then On Error Resume Next For Each cell In ThisWorkbook.Sheets("Mail") _ .Range("A3:AI5").Cells.SpecialCells(xlCellTypeForm ulas) If cell.Value Like "?*@?*.?*" Then strcc = strcc & cell.Value & ";" End If Next If Len(strcc) 0 Then strcc = Left(strcc, Len(strcc) - 1) On Error GoTo 0 -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Sean" wrote in message ... Ron, it maybe relevant but the e-mail addresses in the CC and BCC feild are formula derived, as like ","") |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Ron, seems to work great
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula, one field complex or multiple table field simple | Excel Discussion (Misc queries) | |||
How to make a field created a part of the Pivot Table Field List? | Excel Discussion (Misc queries) | |||
Linked date field in worksheet defaults a blank field as 1/0/1900 | Excel Worksheet Functions | |||
create formula. 1 field constant and another field varies by inpu. | Setting up and Configuration of Excel | |||
How to Join/concatenate a date field with a time field in Excel? | Excel Discussion (Misc queries) |