Hi all
I have a problem with Excel share file.
I try to resize commondbuttons when file is in use.
My code:
But I getting statement:![]()
Public Sub Worksheet_Open() Save.Left = 60 Save.Top = 60 Save.Width = 230 Save.Height = 45
Run-time error 1004: Unable to set the left property of the OLEObject class
I must used this code becouse commandButton (i don't know why) automaticly resizes.
Someone recognizes this problem?
Bookmarks