![]() |
Save values only before save
Hi to al
Im using the following code to save one sheet of my workbook to another location and email... Sub email( ScreenUpdating = Fals Worksheets("Table").Cop ActiveWorkbook.SaveAs "\\Dfs01\shares\Groupdirs\0535\Table" & Range("B56") & ".xls ActiveWorkbook.SaveAs "g:\data\table" & Range("B56") & ".xls ActiveWorkbook.SendMail Recipients:=Array("My distribution list" ActiveSheet.Cop ActiveWorkbook.SaveAs "\\Dfs01\shares\Groupdirs\0535\Table" & Range("B56")" & Range("B56") & ".csv", FileFormat:=xlCS ActiveWorkbook.Close SaveChanges:=Fals ActiveWorkbook.Close SaveChanges:=Fals ScreenUpdating = Tru End Su What should I add to make the saved sheets values only.... i have found this code here in the NG but I not sure if it will work or where to place it in my original cod With ActiveSheet.UsedRang .Cop .PasteSpecial Paste:=xlPasteValue End Wit Application.CutCopyMode = Fals Thanks |
Save values only before save
When I see BOB, I'll tell him.
-- Don Guillett SalesAid Software "Henry" wrote in message ... Thanks Bob This code would go at the beginning of mine? Henry |
Save values only before save
My apologies Don----- No offense intended
|
Save values only before save
none taken. I was just playing with it.
-- Don Guillett SalesAid Software "Henry" wrote in message ... My apologies Don----- No offense intended |
Save values only before save
So where do I put it in the cod
Thanks! |
All times are GMT +1. The time now is 08:44 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com