Help with PasteSpecial

S

staeri

Can someone help me with the syntax for making PasteSpecial work
without selection the range first?

Range("AL1").Select
Selection.Copy
Sheets("Databas_ASI").Select
Range("A2:A27").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd,
SkipBlanks:= False, Transpose:=False

Regards,

S
 
A

Ardus Petus

Range("AL1").copySelection.Copy
WorkSheets("Databas_ASI").Range("A2:A27").PasteSpecial Paste:=xlPasteAll,
Operation:=xlAdd,
SkipBlanks:= False, Transpose:=False

HTH
 
S

staeri

I changed to Range("AL1").Copy then it worked. Thank's a lot!

Regards,

S


Ardus Petus skrev:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top