Tech

Guides
 

Convert Excel calculations to literal values

By Jeff Davis, Special to ZDNet Asia
Thursday, October 16, 2008 01:40 PM
Copying Excel data to a different location can send your calculations into a tailspin. Avoid problems by using Paste Special to copy values rather than formulas.

Microsoft Excel


Convert Excel calculations to literal values

Suppose you have a worksheet with columns and rows chock full of calculations, running the gamut from Sum functions to If tests to vertical and horizontal lookups. The calculations are correct and your data is pristine. You save the worksheet.

Now you need to use a subset of that worksheet in another worksheet. If all you're going to do is print the subset of columns or rows, you can simply hide those rows and columns, print what you need, and unhide the columns and rows later to restore the sheet to its normal state.

But if you're going to e-mail a copy of the sheet to a coworker or a third party, you may not feel comfortable simply hiding certain rows and columns. You may want to delete them instead.

The problem is, of course, if you start deleting rows and columns, you're going to get error messages in the cells that depend on the cells you deleted.

The solution? First and foremost, save a copy of your pristine worksheet under a new name. Just go to File | Save As and add "_work" to the end of the "real" name. Select the entire sheet and then copy it. Without moving the cursor, go to Edit | Paste Special. Now, select the Values option, as shown in Figure A, and click OK.

When you do, Excel will replace all the formulas with the values they're currently calculating and displaying. At that point, you can delete columns or rows and move cells around without generating a single error message.

Figure A
paste special values

Note
If you use the Paste Special | Values option and the data you're pasting contains calculated dates or numbers formatted as currency, the date calculations will be pasted as the Julian date value, and the currency will lose its dollar signs and commas. To preserve that kind of formatting when you convert calculations to literals, simply choose the Values And Number Formats option instead of Values.


Microsoft Access


Give your Word documents a professional look by adding symbols

Do your users often need to stop and search the Web for data? Make it easier for them by adding a Web browser control to their forms. For example, say your users need to input the latest stock prices of the companies where your clients have placed investments.

Follow these steps:

  1. Open the form in Design View.
  2. Click the More Controls button in the Controls toolbox. Scroll down to select Microsoft Web Browser. (In Word 2007, click the Active X button in the Controls group under the Design tab of Forms Design Tools. Scroll down to select Microsoft Web Browser and then click OK.)
  3. Click and drag in your form to create the Web browser control.
  4. Click the Text Box Control tool and then click and drag in your form to create the control.
  5. Click in the text box control label and type Web Address: (Figure A).
Figure A
text box control

  1. Right-click the text box control and select Properties.
  2. Click in the After Update property box and then click the Build button (Figure B).

Figure B
Web control

  1. Type the following code at the prompt:
Private Sub Text17_AfterUpdate()

Dim varAddress As String

varAddress = Me.Text17

Me!WebBrowser6.Navigate varAddress

End Sub
  1. Press Alt + Q.

Now when a user enters a Web address, the Web page displays in the Web browser control window, as shown in Figure C.

Figure C
browse in place


Microsoft Word


Give your Word documents a professional look by adding symbols

Just a few quick touches with symbols can spruce up your documents in minutes. For example, say you've just formatted the newsletter shown in Figure A.

Figure A
sample doc

You'd like to add something at the end of Article One that tells the reader the article ends there; you would also like to add something to indicate that Article Two continues on the next page.

Follow these steps:

  1. Click at the end of Article One.
  1. Go to Insert | Symbol. (In Word 2007, click the Insert tab and then click Symbol in the Symbols group and select More Symbols.)
  1. Click the Font box drop-down arrow and select Symbol.
  1. Click the symbol in the last row, as shown in Figure B, and then click the Insert button.

Figure B
symbols

  1. Click Close.
  1. Select the symbol you just inserted and change the Font color to dark green.
  1. Click at the end of the last column in the document.
  1. Go to Insert | Symbol. (In Word 2007, click the Insert tab and then click Symbol in the Symbols group and select More Symbols.)
  1. Click the Font box drop-down arrow and select WingDings.
  1. Click the symbol shown in Figure C and then click the Insert button.

Figure C
more symbols

  1. Click Close.
  1. Select the inserted symbol and change the font size to 18 and the Font color to dark green (Figure D).

Figure D
symbol formatting

Note: When you need to use the symbols again, you can find them listed under the most recently used symbols in the Insert Symbol dialog box. In Word 2007, just click Symbol on the Insert tab.



WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Microsoft Office Suite News

 
Virtualize your way to cost savings
Build an infrastructure that is flexible, scalable, and economical, as you strive to become a truly agile business.

Red Hat Outlines Its Virtualization Strategy and Roadmap for 2009
» Watch the video





Tech Jobs Now!

Tags

  1. cell
  2. check box
  3. database
  4. dialog box
  5. figure
  6. font
  7. keyboard
  8. microsoft access
  9. microsoft corp.
  10. microsoft excel
  11. microsoft excel 2007
  12. microsoft office
  13. microsoft powerpoint
  14. microsoft vba
  15. microsoft word
  16. microsoft word 2007
  17. mouse
  18. tool
  19. window