CopyOrigin on Insert in Excel VBA

前端 未结 3 940
我寻月下人不归
我寻月下人不归 2021-01-01 13:39

Can anyone tell me what the CopyOrigin parameter of Insert is used for? And what values it will accept?

I have included the vba help (which wasn\'t really that helpf

3条回答
  •  情歌与酒
    2021-01-01 14:17

    It takes either of one parameter as given below.

    Const xlFormatFromLeftOrAbove = 0
    
    Member of Excel.XlInsertFormatOrigin
    

    and...

    Const xlFormatFromRightOrBelow = 1
    
    Member of Excel.XlInsertFormatOrigin
    

提交回复
热议问题