1.ORGANISATION CHARTS
Excel can be usedto create organization charts. You do this by just choosing Diagram from the Insert menu. Excel displays the Diagram Gallery dialog box, which shows six different types of diagrams you can add to your worksheet. The default diagram type is Organization Chart. Click OK, and the chart appears in your worksheet as a graphic object.
Along with the actual organization chart, Excel displays the Organization Chart toolbar whenever the chart is selected. This toolbar allows you to add different boxes to the chart (using the Insert Shape drop-down menu), as well as to specify how the chart should be organized (using the Layout drop-down menu).
In Excel, organization charts are made up shapes and lines. Lines are automatically added or removed as you add or remove shapes. If you would like to change the formatting of any of the elements in the organization chart, right-click on the element and choose Format AutoShape from .
2. CLEARING EVERYTHING EXCEPT FORMULAS
Worksheets can contain an amazing variety of both formulas and values. If you want to get rid of the values in a worksheet but leave the formulas unchanged, how you accomplish the task may seem elusive.
But it is not as difficult as it seems.
If you want to do the clearing manually, you can follow these steps:
Press F5. Excel displays the Go To dialog box.
Click the Special button. Excel displays the Go To Special dialog box.
Select the Constants radio button. The four check boxes under the Formulas option then become available. (This is a bit confusing. Why Microsoft made the Constants radio button control some check boxes under a different radio button is not immediately clear.)
Make sure that all the check boxes under the Formulas radio button are selected. (They should have been selected by default.)
Click OK. Excel selects all the constants (cells that don't contain formulas) in the worksheet.
Press the Del key.
This works great if you only need to clear out the non-formula contents of a worksheet once in a while. If you need to do it more often, then you can simply use the macro recorder to record the above steps. Or, if you prefer, you can create your own macro from scratch, such as the following one:
Sub ClearAllButFormulas()
Dim wks As Worksheet
For Each wks In Worksheets
'ignore errors in case there is only formulas
On Error Resume Next
wks.Cells.SpecialCells _
(xlCellTypeConstants, 23).ClearContents
On Error GoTo 0
Next
Set wks = Nothing
End Sub
This macro is particularly useful if you need to clear out all the non-formula cells in an entire workbook. The reason is because it does the clearing on every worksheet in the entire workbook, without you needing to do the clearing manually.
Thursday, July 31, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment