daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Dec 7th, 2018 53 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Sub ShapeTest()
  2.  
  3. Dim ActiveShape As Shape
  4. Dim ShapeCell As Range
  5.  
  6. Application.ScreenUpdating = False
  7.  
  8. Set ShapeCell = ActiveSheet.Range("A1")
  9. Set ActiveShape = ActiveSheet.Shapes.AddShape(msoShapeRectangle, ShapeCell.Left, ShapeCell.Top, ShapeCell.Width, ShapeCell.Height)
  10.  
  11. ActiveSheet.Rows(1).Insert shift:=xlShiftDown
  12.  
  13. Application.ScreenUpdating = True
  14.  
  15. End Sub
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top