Word deleting tabe column via vba macros gives an error

前端 未结 2 1838
清酒与你
清酒与你 2021-01-25 20:18

I want to copy data from excel to the word table and then delete some columns from table. I can copy data to table, but when I delete column it gives error:

2条回答
  •  天涯浪人
    2021-01-25 20:44

    Sleep function might work.

    Declare Sub Sleep Lib "kernel32" Alias "Sleep" _
       (ByVal dwMilliseconds As Long)
    
    Sub Sleep()
    
    Sleep 1000   'Implements a 1 second delay
    
    End Sub
    

提交回复
热议问题