Dear all,

Following code i am using to select each worksheet (except ) to copy and
paste special values in each worksheet in same workbook. But, i am not
getting desired output .

Could you one help to rectify the following code;


Sub ConvertToValues()
Dim ws As Worksheet
For Each ws In Worksheets
Select Case "M10701403" ' EXCLUDED Sheet M107014031 To DO NOTHING

Case Else
ws.UsedRange.Copy
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
Application.CutCopyMode = False
End Select
Next ws
Application.CutCopyMode = False
End Sub

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to