I am creating a macro in excel and this is the code I have.
Range("P4
14").Select
Selection.ClearContents
Range("E4:O14").Select
Range("O14").Activate
Selection.Cut Destination:=Range("F4
14")
Range("F4
14").Select
Range("E4:E14").Value = Range("D4
14").Value
When the macro runs I have the fallowing error.
Run-time error '-2147417848 (80010108)'
Automation error
The object invoked has disconnected from its clients.
I have tried running the same macro on 3 other machines besides my own and the other 3 work. Does anyone have any idea why I am getting this error?
Range("P4
Selection.ClearContents
Range("E4:O14").Select
Range("O14").Activate
Selection.Cut Destination:=Range("F4
Range("F4
Range("E4:E14").Value = Range("D4
When the macro runs I have the fallowing error.
Run-time error '-2147417848 (80010108)'
Automation error
The object invoked has disconnected from its clients.
I have tried running the same macro on 3 other machines besides my own and the other 3 work. Does anyone have any idea why I am getting this error?