View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ron[_6_] Ron[_6_] is offline
external usenet poster
 
Posts: 48
Default PasteSpecial Values

Hello all,

I'm having a problem with pasting values. I have a sheet that I'm
pasting values to from several other sheets, some columns have
formulas. Some of the formulas use =if(a3 = ""."".do something). I'm
copying and pasting values only of range ("A3:K42) with some of the
rows blank except for the formulas =if(a3 = ""."".do something).

I copy and paste one sheet at a time, but when I paste data from the
next sheet using End(xldown).offset(1,0) to position the cursor in the
right place to paste, it appears that there is actually something in
the cells I pasted as values because the code pastes values well below
the target cell. Does pasting values of a formula return a blank cell
as asked for in the formula using NullNUll or ""?

Thank you for your assistance, Ron