View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas[_4_] Gary Keramidas[_4_] is offline
external usenet poster
 
Posts: 226
Default Help with this code please !!!!!!!


i personally stay away from using used range. i'd rather find it through
code. the one time it screws up could be costly. you may have other views,
this is just mine.

http://www.contextures.on.ca/xlfaqApp.html#Unused
--


Gary Keramidas
Excel 2003


"ozgrid.com" wrote in message
...
With Sheets("Completions Summary").UsedRange
.Value = .Value
End With


--
Regards
Dave Hawley
www.ozgrid.com
"Ayo" wrote in message
...
I have use the code set below in other files but in this new file I am
getting an error on "Cells.Select". "Select method of Range class
failed"
Any idea whats going on?

Sheets("Completions Summary").Select
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
Range("A4").Select