View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Metrazal[_27_] Metrazal[_27_] is offline
external usenet poster
 
Posts: 1
Default Copy contents only


I adjusted the code to allow multiple fields. However, I have an error.
Wheres my problem?


For i = 1 To 9999
Worksheets("Invoice").Range(i, "a2:m2").Copy
Worksheets("master").Range(i, "a7:m7").PasteSpecial
Paste:=xlPasteValues
Next i


Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=518444