Académique Documents
Professionnel Documents
Culture Documents
References
Keyboard Shortcuts
Free online tutorials and resources
3 2
3) You can format the cell to display any customized text, but formatting doesnt change the actual value stored in the cell at all
Here is how to open Format Cells window: Select the cell or range -> Go to Format Menu -> Select Cells
4 Nokia Siemens Networks
One of the big benefits of custom formats is that Number values can still be calculated while displayed as Texts.
Note
If you include only two sections, the first section will be used for both positive numbers and zero values, while the second section will be used for negative numbers. If you use only one section, all number types will share only one format. Text values are only affected by custom formats when all the four sections are used.
Record a macro
Or tell your macro what to do step by step
Let Excel finish your repetitive tasks automatically by recording a macro. When you record a macro, Excel stores information about each step you take as you perform a series of commands.
1) 2) 3) 4) On the Tools menu, point to Macro, and then select Record New Macro In Record Macro window, name your macro so that it can be easily recognized by you or your colleagues Assign shortcut keys for your macro to run it by keyboard strokes
2 3 5 4
In the Store macro in list, you can either select Personal Macro Workbook so that this macro can be used in any open workbook or select This Workbook so that it can only be used in the current open workbook
5) 6) 7)
You may also write some description for your macro as a brief user guide Click OK to start recording your macro and perform your task as usual When you finish your task, click the Stop Recording button
Run a macro
Now, you have your macro stored in your Excel, here comes how to make it run:
1) On the Tools menu, point to Macro, and then click Macros
2) In the Macro dialog box, select Macros in as All Open Workbooks and find your macro to run
3) Click Run button, then check if your task is accomplished Note! Macros are only available if the workbook in which they are stored
is open. Thus, only those stored in your Personal Macro Workbook will be available at all times.
Tips!
Its better to store your locally used macros in Personal Macro Workbook, so that the Security Level issue wont bother you.
If you want to stop a macro that is currently running, you can press ESC, and click End in the Microsoft Visual Basic dialog box.
If you want to prevent automatically running a macro when you start Microsoft Excel, hold down SHIFT during startup.
Warning:
When opening a workbook, DO NOT enable Macros from distrustful source!
VBA Codes
Module
10
5
5) Anytime, you can reset your password or clear it by selecting Tools -> Options -> Security, then modify your passwords Note! Keep in mind that forgotten passwords cannot be retrieved in Excel.
12
By default, all cells are locked unless you unlock the cells you want users to be able to change by selecting each cell or range, click Cells on the Format menu, click the Protection tab, and then clear the Locked check box.
You can hide any formulas that you don't want to be visible by selecting the cells with the formulas, click Cells on the Format menu, click the Protection tab, and then select the Hidden check box.
3 4
3) Point to Protection on the Tools menu, and then click Protect Sheet 4) Type a password for the sheet 5) In the Allow all users of this worksheet to list, select the elements that you want users to be able to change 6) Click OK, and if prompted retype the password
13
References
Or good links to help you know more
Keyboard Shortcuts
Or work more efficiently with the keyboard It is sometimes quicker to accomplish tasks with simple keystrokes rather than by using your mouse.
Lets meet some useful ones:
F4 Repeats the last command or action, if possible F5 Displays the Go To dialog box F11 Creates a chart of the data in the current range
CTRL+ A Selects the current region around the active cell (the data
area enclosed by blank rows and blank columns). In a PivotTable, it selects the entire PivotTable report
15
ExcelHome (Chinese)
http://www.excelhome.net/
Macro & VBA Worksheet Manipulation Analyzing Data Charts & Graphics Function & Formula
MrExcel.com (English)
http://www.mrexcel.com/
16
Questions?
Thank you!