BLOGS BY TOPIC
BLOGS BY AUTHOR
BLOGS BY YEAR
You can use Visual Basic within Excel, PowerPoint or Word to draw shapes, format them and even assign macros to run - this long blog gives lots of ideas of how to proceed!
- Working with shapes in VBA
- Working with shapes - getting started
- Naming, referring to and positioning shapes
- Formatting shapes and adding text
- Adding lines and connectors to join shapes together
- Working with multiple shapes
- Assigning macros to shapes
- Exercises on shapes (this blog)
Posted by Andy Brown on 25 January 2014
You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.
Exercises on shapes
If you've read this far, you'll be wanting to try your hand at some "real life" examples! You can find 3 exercises of varying difficulties on shapes here.
You can download any files that you need to do these exercises using the links above - to get the answers you'll need to attend a Wise Owl VBA course!
If you want to learn VBA in a classroom environment, take a look at one of our VBA courses:
- Excel Visual Basic - two-day course
- Access Visual Basic - two-day course
- Advanced Visual Basic for Applications - two-day course
Alternatively, call or email us about arranging your own tailored course in writing macros in VBA.