Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts

Monday, August 9, 2010

Creating Spreadsheets and Charts


Creating Spreadsheets and Charts 
in Microsoft Office Excel 2007 for Windows: 
Visual QuickProject Guide 
 144 pages | PDF | 11,6 MB

Microsoft Excel is the world's most-popular spreadsheet program--used by schools, offices, and home users. In Excel 2007, Microsoft has completely redesigned the user interface, making it more intuitive and more attractive. But anyone needing to get started quickly without learning all the ins and outs of the software still needs a handy guide. And with Creating Spreadsheets and Charts in Microsoft Excel 2007: Visual QuickProject Guide they've got one. 
Excel expert Maria Langer walks readers through the new interface and teaches them the tools they will use throughout the project. From there, she helps them create their first workbook, using formulas, adding formatting, adding a visually rich chart. Readers also learn how to effectively print their spreadsheets and charts--something that's much more confusing than it sounds! Along the way all readers will learn how to create attractive, professional, and effective Excel documents. 

Tuesday, May 4, 2010

Excel 2007 Miracles Made Easy


Excel 2007 Miracles Made Easy 
 English | 183 pages | PDF | 10.2 MB


Mr. Excel Reveals 25 Amazing Things You Can Do with the New Excel. In this addendum to Learn Excel from Mr. Excel, the amazing new features offered in Excel 2007 are introduced. 

Revealing the features that make this new version the best new release of Excel since 1997, this guide provides the necessary information to teach users to quickly unleash the powerful new features in Excel 2007, create incredible-looking charts, customize color themes to match their corporate logo, utilize data-visualization tools, and learn Pivot Table improvements.




Sunday, April 25, 2010

Learn Excel from Mr. Excel:



Learn Excel from Mr. Excel: 
277 Excel Mysteries Solved 
PDF | 836 pages | 41.94 Mb


Containing 277 business case studies that illustrate nearly every aspect of Excel, this book presents real-life business problems and works them through to their solutions. In addition to exemplary solutions, each case analysis considers alternate approaches and gotchas, and includes a summary of the necessary commands and functions. Excel files that can be downloaded and worked through step-by-step are included for each case.


Download Link

Wednesday, April 21, 2010

Microsoft Office Excel 2007: Top 100 Simplified Tips & Tricks


Microsoft Office Excel 2007: 
Top 100 Simplified Tips & Tricks
 PDF | 256 pages | 24,5 mb

You already know Excel 2007. Now you'd like to go beyond with shortcuts, tricks, and tips that let you work smarter and faster. And because you learn more easily when someone shows you how, this is the book for you. Inside, you'll find clear, illustrated instructions for 100 tasks that reveal cool secrets, teach timesaving tricks, and explain great tips guaranteedto make you more productive with Excel 2007.


Download Link

Sunday, February 21, 2010

Excel as Your Database



Excel as Your Database 
 250 Pages |  PDF | 3 MB

Excel As Your Database guides those of you who need to manage facts and figuresyet have little experience, budget, or need for a full-scale relational database management system. Youll learn how to use Excel to enter, store, and analyze your data. This book is written and organized in a way that assumes you have some familiarity with Excel, but not with databases. 
The book features quick-start solutions, practice exercises, troubleshooting tips, and best practices. This book covers Excel 2007 and 2003.The author clarifies not just how to use a technique, but under what realistic scenarios.The text features step-by-step, how-to procedures.Try-it-out exercises are based on realistic sample data.

Download Link

Sunday, February 7, 2010

Visual Studio Tools for Office:


Visual Studio Tools for Office:
Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
CHM | 1120 pages | 15,9 mb

"With the application development community so focused on the Smart Client revolution, a book that covers VSTO from A to Z is both important and necessary. This book lives up to big expectations. It is thorough, has tons of example code, and covers Office programming in general terms--topics that can be foreign to the seasoned .NET developer who has focused on ASP.NET applications for years. Congratulations to Eric Lippert and Eric Carter for such a valuable work!"

--Tim Huckaby, CEO, InterKnowlogy, Microsoft regional director "This book covers in a clear and concise way all of the ins and outs of programming with Visual Studio Tools for Office. Given the authors' exhaustive experiences with this subject, you can't get a more authoritative description of VSTO than this book!"
--Paul Vick, technical lead, Visual Basic .NET, Microsoft Corporation"Eric and Eric really get it. Professional programmers will love the rich power of Visual Studio and .NET, along with the ability to tap into Office programmability. This book walks you through programming Excel, Word, InfoPath, and Outlook solutions."



Sunday, November 22, 2009

Excel 2007 VBA Macro Programming


Excel 2007 VBA Macro Programming
Develop custom Excel VBA macros

Perfect for power users, this practical resource reveals how to maximize the features and functionality of Excel 2007. You'll get in-depth details on Excel VBA programming and application development followed by 21 real-world projects--complete with source code--that show you how to set up specific subroutines and functions. The book then explains how to
include the subroutines in the Excel menu system and transform a set of interrelated VBA macros into an Excel add-in package. Create your own Excel 2007 VBA macros right away with help from this hands-on guide.

Excel 2007 VBA Macro Programming shows you how to:
Write and debug VBA code
Create custom dialog boxes and buttons
Maximize the Excel object model
Write code to interact with a database
Add functionality to your programs with API calls
Insert class modules
Develop custom menus for the Ribbon
Animate objects in Excel
Create and manipulate Pivot Tables in VBA
Expand calculation and search functions
Create full-fledged Excel add-ins
Use VBA to work with XML files



Wednesday, November 11, 2009

Excel Gurus Gone Wild:


Excel Gurus Gone Wild:
Do the impossible with Excel

This high-level resource is designed for people who want to stretch Excel to its limits. Tips for solving 100 incredibly difficult problems are covered in depth and include extracting the first letter of each word in a paragraph, validating URL's, generating random numbers without repeating, and hiding rows if cells are empty. The answers to these and other questions have produced results that have even surprised the Excel development team.



Wednesday, September 16, 2009

How to lock a cell or selected cells in excel sheet

How to lock a cell or selected cells in excel sheet

1. First select the entire sheet, in which you want to lock or unlock the cell.

2. Go to "Format -> Cells->Protection" in the menu bar.

3. In that you will find the Check Box "Locked" with Tick in it. Remove
the check first (by default all the cells will be in lock position).

4. Select the cells which you want to lock.

5. Repeat the steps 2 and put the Tick in the Check Box.

6. Go to "Tools->Protection->Protect Sheet" in the menu bar.

7. You have to give password for protection and save.

8. Now try to enter data in the locked cells, it will not allow you to
enter, whereas you can enter data in remaining cells.


Saturday, September 12, 2009

How to determine the number of Pinted Pages in Excel 2007

Excel 2007 - Tips-Determining The Number Of Printed Pages

If you need to determine the number of printed pages for a worksheet printout, you can use Excel's print preview feature, and view the page count displayed at the bottom of the screen.

This tip provides two ways to determine the number of printed pages -- one using the the Excel 4 (XLM) Get.Document macro function, the other using VBA.
Using an XLM macro in VBA

You can execute an XLM macro function from VBA, as follows:

PgCnt = ExecuteExcel4Macro("Get.Document(50)")

In the statement above, the number of printed pages in the active sheet is assigned to the PgCnt variable.

The VBA subroutine below loops through all worksheets in the active workbook and displays the total number of printed pages. Note that this may return incorrect results when using a user-specified print range.

Sub ShowPageCount()
PageCount = 0
For Each sht In Worksheets
sht.Activate
Pages = ExecuteExcel4Macro("Get.Document(50)")
PageCount = PageCount + Pages
Next sht
MsgBox "Total Pages = " & PageCount
End Sub

Using VBA

Stew Scott provided the VBA procedure below, which does not use XLM.

Sub NumberOfPrintedPages()
Worksheets(1).DisplayAutomaticPageBreaks = True
HorizBreaks = Worksheets(1).HPageBreaks.Count
HPages = HorizBreaks + 1
VertBreaks = Worksheets(1).VPageBreaks.Count
VPages = VertBreaks + 1
NumPages = HPages * VPages
Worksheets(1).DisplayAutomaticPageBreaks = False
MsgBox NumPages
End Sub

Excel 2007 Upgrade - Formatting And Printing

Excel 2007 Upgrade - Formatting And Printing

Q: How do I get my old workbook to use the new fonts?

A: Press Ctrl+N to create a blank workbook. Activate your old workbook and choose the Home tab. Click the very bottom of the vertical scrollbar in Styles gallery, and choose Merge Styles. In the Merge Styles dialog box double-click the new workbook you created with Ctrl+N. But this only works with cells that have not been formatted. For example, bold cells retain their old font.

Q. How do I get a print preview?

A. Try using the Page Layout view (icon on the right side of the status bar). Or, add the Print Preview button to your QAT.

Q: When I switch to a new document template, my worksheet no longer fits on a single page.

A: That's probably because the new theme uses different fonts. After applying the theme, use the Page Layout / Themes / Fonts control to select your original fonts to use with the new theme. Or, modify the font size for the Normal style. If page fitting is critical, you should choose the theme before you do much work on the document.

Q: How do I get rid of the annoying dotted-line page break display in Normal view mode?

A: Open the Excel Options dialog box, click the Advanced tab, scroll down and look for the 'Display options for this worksheet' section, and remove the checkmark from 'Show Page Breaks'.

Q: Can I add that 'Show Page Breaks' option to my QAT?

A: No. For some reason, this very useful command isn't available as a QAT icon.

Q: I changed the text in a cell to use Angle Clockwise orientation (in the Home / Alignment group). I can't find a way to get the orientation back to normal. There's no Horizontal Alignment option.

A: To change the cell back to normal, click the option that corresponds to the current orientation (that option is highlighted). Or, choose the Format Cell Alignment option and make the change in the Format Cells dialog box.

Q. I'm trying to apply a table style to a table, but it has no effect.

That's probably because the table cells were formatted manually. Remove the old cell background colors, and applying a style should work.

Q: I thought Office 2007 was supposed to support PDF output. I can't find the command.

A: You need to download a free add-in from Microsoft. Blame the Adobe attorneys. After you download and install the add-in, click the Office Menu button and then select Save As / PDF or XPS.

Excel Work Sheet Protection

How do I protect a worksheet?

Activate the worksheet to be protected, then choose Tools - Protection - Protect Sheet. You will be asked to provide a password (optional). If you do provide a password, that password will be required to unprotect the worksheet.

I tried the procedure outlined above, and it doesn't let me change any cells! I only want to protect some of the cells, not all of them.

Every cell has two key attributes: Locked and Hidden. By default, all cells are locked, but they are not hidden. Furthermore, the Locked and Hidden attributes come into play only when the worksheet is protected. In order to allow a particular cell to be changed when the worksheet is protected, you must unlock that cell.

How do I unlock a cell?

1. Select the cell or cells that you want to unlock.
2. Choose Format - Cells
3. In the Format Cells dialog box, click the Protection tab
4. Remove the checkmark from the Locked checkbox.

Remember: Locking or unlocking cells has no effect unless the worksheet is protected.

How do I hide a cell?

1. Select the cell or cells that you want to unlock.
2. Choose Format - Cells
3. In the Format Cells dialog box, click the Protection tab
4. Add a checkmark to the Hidden checkbox.

Remember: Changing the Hidden attribute of a cell has no effect unless the worksheet is protected.

I made some cells hidden and then protected the worksheet. But I can still see them. What's wrong?

When a cell's Hidden attribute is set, the cell is still visible. However, it's contents do not appear in the Formula bar. Making a cell Hidden is usually done for cells that contain formulas. When a formula cell is Hidden and the worksheet is protected, the user cannot view the formula.

I protected my worksheet, but now I can't even do simple things like sorting a range. What's wrong?

Nothing is wrong. That's the way worksheet protection works. Unless you use Excel 2002 or later.

How is worksheet protection different in Excel 2002 and later?

Excel 2002 and later provides you with a great deal more flexibility when protecting worksheets. When you protect a worksheet using Excel 2002 or later, you are given a number of options that let you specify what the user can do when the worksheet is protected:

* Select locked cells

* Delete columns

* Select unlocked cells

* Delete rows

* Format cells

* Sort

* Format columns

* Use AutoFilter

* Format rows

* Use PivotTable reports

* Insert columns

* Edit objects

* Insert rows

* Edit scenarios

* Insert hyperlinks


Why aren't these options available in earlier versions of Excel?

Good question. Only Microsoft knows for sure. The limitations of protected worksheets have been known (and complained about) for a long time. For some reason, Microsoft never got around to addressing this problem until Excel 2002.

Can I lock cells such that only specific users can modify them?

Yes, but it requires Excel 2002 or later.
How can I find out more about the protection options available in Excel 2002 or later?

Start with Excel's Help system. If you're a VBA programmer, you may be interested in this MSDN article that discusses the Protection object.

Can I set things up so my VBA macro can make changes to Locked cells on a protected sheet?

Yes, you can write a macro that protects the worksheet, but still allows changes via macro code. The trick is to protect the sheet with the UserInterfaceOnly parameter. Here's an example:

ActiveSheet.Protect UserInterfaceOnly:=True

After this statement is executed, the worksheet is protected -- but your VBA code will still be able to make changes to locked cells and perform other operation that are not possible on a protected worksheet.

If I protect my worksheet with a password, is it really secure?

No. Don't confuse protection with security. Worksheet protection is not a security feature. Fact is, Excel uses a very simple encryption system for worksheet protection. When you protect a worksheet with a password, that password -- as well as many others -- can be used to unprotect the worksheet. Consequently, it's very easy to "break" a password-protected worksheet.

Worksheet protection is not really intended to prevent people from accessing data in a worksheet. If someone really wants to get your data, they can. If you really need to keep your data secure, Excel is not the best platform to use.

So are you saying that protecting a worksheet is pointless?

Not at all. Protecting a worksheet is useful for preventing accidental erasure of formulas. A common example is a template that contains input cells and formulas that calculate a result. Typically, the formula cells would be Locked (and maybe Hidden) the input cells would be Unlocked, and the worksheet would be protected. This helps ensure that a novice user will not accidentally delete a formula.

Are there any other reasons to protect a worksheet?

Protecting a worksheet can also facilitate data entry. When a worksheet is locked, you can use the Tab key to move among the Unlocked cells. Pressing Tab moves to the next Unlocked cell. Locked cells are skipped over.

OK, I protected my worksheet with a password. Now I can't remember the password I used.

First, keep in mind that password are case-sensitive. If you entered the password as xyzzy, it won't be unprotected if you enter XYZZY.

Here's a link to a VBA procedure that may be able to derive a password to unprotect the worksheet. This procedure has been around for a long time, and is widely available -- so I don't have any qualms about reproducing it here. The original author is not known.

If that fails, you can try one of the commercial password-breaking programs. I haven't tried any of them, so I have no recommendations.

How can I hide a worksheet so it can't be unhidden?

You can designate a sheet as "very hidden." This will keep the average user from viewing the sheet. To make a sheet very hidden, use a VBA statement such as:

Sheets("Sheet1").Visible = xlVeryHidden

A "very hidden" sheet will not appear in the list of hidden sheets, which appears when the user selects Format - Sheet - Unhide. Unhiding this sheet, however, is a trivial task for anyone who knows VBA.

Can I prevent someone from copying the cells in my worksheet and pasting them to a new worksheet?

Probably not. If someone really wants to copy data from your worksheet, they can find a way.
Workbook Protection

Questions in this section deal with protecting workbooks.

What types of workbook protection are available?

Excel provides three ways to protect a workbook:

* Require a password to open the workbook
* Prevent users from adding sheets, deleting sheets, hiding sheets, and unhiding sheets
* Prevent users from changing the size or position of windows

How can I save a workbook so a password is required to open it?

Choose File - Save As. In the Save As dialog box, click the Tools button and choose General Options to display the Save Options dialog box, in which you can specify a password to open the file. If you're using Excel 2002, you can click the Advanced button to specify encryption options (for additional security). Note: The exact procedure varies slightly if you're using an older version of Excel. Consult Excel's Help for more information.

The Save Options dialog box (described above) also has a "Password to modify" field. What's that for?

If you enter a password in this field, the user must enter the password in order to overwrite the file after making changes to it. If the password is not provided, the user can save the file, but he/she must provide a different file name.

If I require a password to open my workbook, is it secure?

It depends on the version of Excel. Password-cracking products exist. These products typically work very well with versions prior to Excel 97. But for Excel 97 and later, they typically rely on "brute force" methods. Therefore, you can improve the security of your file by using a long string of random characters as your password.

How can I prevent a user for adding or deleting sheets?

You need to protect the workbook's structure. Select Tools - Protection - Protect Workbook. In the Protect Workbook dialog box, make sure that the Structure checkbox is checked. If you specify a password, that password will be required to unprotect the workbook.

When a workbook's structure is protected, the user may not:

* Add a sheet
* Delete a sheet
* Hide a sheet
* Unhide a sheet
* Rename a sheet
* Move a sheet

How can I distribute a workbook such that it can't be copied?

You can't.
VB Project Protection

How can I prevent others from viewing or changing my VBA code?

If you use Excel 97 or later... Activate the VB Editor and select your project in the Projects window. Then choose Tools - xxxx Properties (where xxxx corresponds to your Project name). In the Project Properties dialog box, click the Protection tab. Place a checkmark next to Lock project for viewing, and enter a password (twice). Click OK, then save your file. When the file is closed and then re-opened, a password will be required to view or modify the code.

Is my add-in secure?

The type of VB Project protection used in Excel 97 and later is much more secure than in previous versions. However, several commercial password-cracking programs are available. These products seem to use "brute force" methods that rely on dictionaries of common passwords. Therefore, you can improve the security of your file by using a long string of random characters as your password.

Can I write VBA code to protect or unprotect my VB Project?

No. The VBE object model has no provisions for this -- presumably an attempt to thwart password-cracking programs. It may be possible to use the SendKeys statement, but it's not completely reliable.

How to Highlight Every other Row or Column in Excel

How to Highlight Every other Row or Column in Excel
-Using conditional Formatting-

Select the range (Suppose A1: H100)

Format > Conditional Formatting >Change “Cell Value is” to “Formula is” then enter
=MOD(ROW(), 2)
Click Format,

And choose what ever format you want to apply to every second raw

Click OK, and then Click OK again.

To apply this Columns rather than rows, use
=MOD(Column(), 2)