ronnockoch
New Member
- Joined
- Jun 9, 2014
- Messages
- 13
Hello all,
Quick question.
I'm writting a VBA code for a project i'm working on and I've exaughsted my google searching trying to figure this out.
The problem I'm having is this.
This code is throwing an error for me when running and it's on the Caption:="" line. The rest of the code runs flawlessly.
The error I get is: Run Time error 448: Named Argument not Found
From my quick research on this problem, Im starting to believe that I can't change caption from my side and it would have to be done manually.
Alternatively, a code snippet which would create check boxes only (no caption by default) would also be nice
Let me know if you have any other questions I can try and answer
Quick question.
I'm writting a VBA code for a project i'm working on and I've exaughsted my google searching trying to figure this out.
The problem I'm having is this.
Code:
ActiveSheet.OLEObjects.Add ClassType:="Forms.CheckBox.1", _ Link:=False, _
DisplayAsIcon:=False, _
Left:=Range("A1").Left, _
Top:=Cells(1, 1).Top, _
Width:=108, _
Height:=19.5, _
Caption:=""
This code is throwing an error for me when running and it's on the Caption:="" line. The rest of the code runs flawlessly.
The error I get is: Run Time error 448: Named Argument not Found
From my quick research on this problem, Im starting to believe that I can't change caption from my side and it would have to be done manually.
Alternatively, a code snippet which would create check boxes only (no caption by default) would also be nice
Let me know if you have any other questions I can try and answer