Shname = Array("Sick Graph","Accident Graph")
' STANDARD MODULE
Option Explicit
Sub Main()
Dim shNames As Variant
Dim shName As Variant
Dim wb As Workbook
Dim ws As Worksheet
shNames = Array("Sick Graph", "Accident Graph")
Set wb = Workbooks.Add()
For Each shName In shNames
Set ws = ThisWorkbook.Worksheets(shName)
ws.Copy befo=wb.Worksheets(1)
Next
wb.SendMail "adresss1"
End Sub
"Steved" wrote:
Hello From Steved
Shname = Array("Sick Graph")
To This please
Shname = Array("Sick Graph","Accident Graph")
Is it possible please ( Sending 2 worksheets from 1 workbook )
Thankyou.
|