Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how can i get rid of dialog box?
When i run this script on excel 2003 I get "A program is trying to
automatically send e-mail on your behalf". How do i get rid of this? Sub Time_set() Sheets("Sheet1").Select Range("AA1").Select ActiveSheet.PivotTables("PivotTable3").PivotCache. Refresh Sheets("Sheet5").Select Range("B47").Select If Application.Sheets("Sheet5").Range("B47") 0 Then Workbooks("mail.XLS").HasRoutingSlip = False With Workbooks("mail.XLS").RoutingSlip .Delivery = xlOneAfterAnother .Recipients = "my address" .Subject = "hello" .Message = Workbooks("mail.XLS").Sheets("Sheet1").Range("A1") End With Workbooks("mail.XLS").Route Else End If Application.OnTime Now + TimeValue("00:30:00"), "time_set" Range("B47").Select End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to delete the "Insert Function Dialog Box" (dialog box only)? | Excel Worksheet Functions | |||
Use of Dialog | New Users to Excel | |||
control of dialog macro dialog box. on open | Excel Programming | |||
Dialog box on the fly. | Excel Programming | |||
VBA for Dialog Box | Excel Programming |