Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Error on E-Mailing Q

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sean - 15 Sep 2007 12:06 GMT
I have used Ron e Bruin's excellent codes to e-mail out from Excel for
sometime, but suddenly I'm getting a debug message "unable to get the
specific/cells property of the range class" on the following code and
I don't know why. The procedure has worked for weeks and no problem.

Cells A3 & A4 both contain valid e-mail addy's, so can't understand
why its debugging now

Thanks

   For Each cell In ThisWorkbook.Sheets("Data") _
   .Range("A3:A4").Cells.SpecialCells(xlCellTypeConstants)
       If cell.Value Like "?*@?*.?*" Then
           strto = strto & cell.Value & ";"
       End If
   Next
   strto = Left(strto, Len(strto) - 1)
Sean - 18 Sep 2007 11:28 GMT
> I have used Ron e Bruin's excellent codes to e-mail out from Excel for
> sometime, but suddenly I'm getting a debug message "unable to get the
[quoted text clipped - 13 lines]
>     Next
>     strto = Left(strto, Len(strto) - 1)

Anyone any ideas on why the above error would now occur?

Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.