Paste Values instead of formulas with PasteSpecial - VBANewbie

后端 未结 3 1439
悲&欢浪女
悲&欢浪女 2021-01-25 10:33

I am absolutely new to vba. I want to copy certain values in cells from two tabs (\"Equities\", \"Bonds\") into a third one (\"ZSM\") with the following code.

Su         


        
3条回答
  •  情话喂你
    2021-01-25 11:14

    You can try replacing those Activesheet.PasteSpecial as:

    Selection.PasteSpecial Paste:=xlPasteValues
    

    This will paste your selected range as just values.

提交回复
热议问题