View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default PasteSpecial Constant

One caveat:

Instead of ActiveCell, to be fully equivalent, one should use Selection:

Selection.Value = constName

since in the OP's example, Selection could involve multiple cells.



In article ,
kassie wrote:

Activecell.value = constName
where you replace constName with the name of the constant

--
Hth

Kassie Kasselman
Change xxx to hotmail


"Rick" wrote:

When using this function : Selection.PasteSpecial
Paste:=xlValues,Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False

How do I change it to past a Public Constant?