Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Outlook_Express()
ActiveSheet.Select With ActiveWorksheet Range("B6").Select ActiveCell.Value = ActiveWorkbook.Worksheets.Count - 1 Range("A1:I46").Select Dim msg As String, cell As Range Dim Recipient As String, Subj As String, HLink As String Dim Recipientcc As String, Recipientbcc As String Recipient = " Recipientcc = ActiveSheet.Range("E39") Recipientbcc = " Subj = ActiveSheet.Range("A47") msg = "Dear customer" & vbNewLine & vbNewLine For Each cell In ActiveSheet.Range("A1:I46") msg = msg & vbNewLine & cell Next cell msg = WorksheetFunction.Substitute(msg, vbNewLine, "%0D%0A") msg = WorksheetFunction.Substitute(msg, vbLf, "%0D%0A") HLink = "mailto:" & Recipient & "?" & "cc=" & Recipientcc & "&" & "bcc=" & Recipientbcc & "&" HLink = HLink & "subject=" & Subj & "&" HLink = HLink & "body=" & msg Application.SendKeys "%s" End With End Sub Suddenly stopped sending the selected range ??? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulae stop working | Excel Worksheet Functions | |||
Why can cause undo and redo to stop working? | Excel Discussion (Misc queries) | |||
Excel Formulas stop working | Excel Discussion (Misc queries) | |||
hyper links stop working | Excel Worksheet Functions | |||
My Excel stop working can any one help? | Setting up and Configuration of Excel |