Written by Allen Wyatt (last updated June 11, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
The graphics features of Excel allow you to add a number of predefined shapes to a workbook. These shapes, called AutoShapes, cover a wide range of needs. If you want to add shapes to the AutoShapes feature, however, you are out of luck. The shapes are apparently hard-coded into Excel, and cannot be modified.
You can, however, add shapes to the Clip Gallery. If you format the shapes as WMF files, they are easy to add and easy to place within a worksheet. For instance, if you have a number of different flowchart symbols that you want to make available in Excel, all you need to do is save each symbol in the WMF format, and then import them into the Clip Gallery. (To save graphics in the WMF format, you will need to use a specialized graphics program, such as Paint Shop Pro or Corel Draw.)
If you don't want to use the Clip Gallery for some reason, you can simulate your own AutoShapes through a combination of macros and graphics in a hidden worksheet. The following general steps detail how to do this for a series of twenty flowchart symbols. The steps assume that you are reasonably comfortable writing macros and customizing toolbars.
Sub AddFlowObj1() ThisWorkbook.Sheets(1).Shapes("FlowObj1").Copy ActiveSheet.Paste End Sub
Private Sub Workbook_Open() Application.CommandBars("MyShapes").Visible = True End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.CommandBars("MyShapes").Delete End Sub
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1995) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Excel doesn't just work with numbers and text. You can also add graphics objects to your worksheets, and then use Excel's ...
Discover MoreExcel provides the Picture toolbar to help you modify any images in your worksheet. This tip explains how to use the ...
Discover MoreWhen you create a chart, Excel attempts to assign colors to your data series that it thinks will work best for you. If ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments