Ambiguooous
New Member
- Joined
- Jun 6, 2018
- Messages
- 30
Hi to all ..
I want to know what is the problem with me in this code ?? because not accepted to run (error 400)
Sub SaveAsValues()
Dim ws As Worksheet
For Each ws In Worksheets
ws.UsedRange = ws.UsedRange.Value
Next ws
ThisWorkbook.SaveAs "Z:\Collateral Monitoring\Daily\LMM - " & Format(Date, "dd mmmm yyyy")
End Sub
I want to know what is the problem with me in this code ?? because not accepted to run (error 400)
Sub SaveAsValues()
Dim ws As Worksheet
For Each ws In Worksheets
ws.UsedRange = ws.UsedRange.Value
Next ws
ThisWorkbook.SaveAs "Z:\Collateral Monitoring\Daily\LMM - " & Format(Date, "dd mmmm yyyy")
End Sub
Last edited: