View Full Version : [SOLVED:] How do I make a command button move?
Jack Brown
05-30-2017, 05:02 PM
Hey
I am trying to make a command button move a certain distance on a sheet- how do I do this?
Thanks
:bow:
Paul_Hossler
05-30-2017, 05:18 PM
This is what the macro recorder gave me - you can use it as a starting point
Option Explicit
Sub Macro1()
Range("P11").Select
ActiveSheet.Shapes.Range(Array("CommandButton1")).Select
ActiveSheet.Shapes("CommandButton1").IncrementLeft -123.75
ActiveSheet.Shapes("CommandButton1").IncrementTop 1.5
Range("D29").Select
End Sub
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.