Word
Keeping tabs on the File, New dialog
PowerPoint
Make it simple for the recipient
The Office Assistant may be useful after all
Access
Decompile mode -an undocumented recovery technique
Don't store images as OLE objects
Excel
Sorting out problems with links
Could you explain how the Office 2000 Clipboard works? It seems to just jump up and down at random, and I cant fathom out what it's doing, or even how to get it back if I close it and tell it to go away.
My last Office question of the month, and a good one it is too, I found its habit of popping up and down disconcerting too, and determined to gain control over this unruly beast (and to find out why it was doing what it did). I should point out first of all that the Office Clipboard is actually rather useful, as unlike the Windows Clipboard it can hold up to 12 items so long as they don't exceed 4Mb in total. In order for it to be able to store those 12 items, the Office Clipboard has to be open on your Desktop and you can turn it on by selecting the Toolbars I Clipboard from the View menu.
As you've noticed, when you copy, the Office Clipboard (if not already open) will suddenly pop up on the Desktop, but in fact its appearance isn't quite as random as it might appear as it follows this set of rules:
If you copy the same item twice in a row, Clipboard will appear. If you cut or copy two items consecutively in the same Office program, it will appear. If you copy an item, paste it and then copy another item all within the same Office program, it will appear. Once you have a full 12 items in it, if you try and copy another item, a message box will pop up and tell you that if you continue it will overwrite the first item that's currently in the Office Clipboard.
If you just close it each time it puts in an appearance, after the third occasion you'll be asked if you want it to stop popping up permanently, and if you opt to do that it won't bother you again.
To turn it back on, use View - Toolbars - Clipboard again. However, I've found that even if you do that it has a tendency to return at some point, so if you absolutely positively must get rid of it (my advice would be to keep it, but just keep it open all the time so that it doesn't distract by leaping up and down), then you're going to have to get down and dirty with the Registry. As usual, make all the necessary backups, then follow these steps, after ensuring that you've closed down any running programs:
Head for the Start button, click on it, select the Run menu item, type regedit in the edit box and then hit the OK button.
1 Make your way to the key HKEY-CURRENT-USER\Software\Microsoft\Office\9.0\Common\General
2 YOU now need to create a new entry, so head for the Edit menu, select the New menu item and then DWORD Value.
3 Select the default New Value # 1 and change it so that it reads AcbControl and hit the Enter key.
4 Go back to the Edit menu, select the Modify menu item and in the Edit DWORD Value dialog, click Decimal to select it, type 1 in the Value Data edit box and then hit the OK button.
5 Close the Registry Editor when you've finished. If you ever want to turn it back on again, just change the Value Data from 1 to 0.
I've just installed Office 2000 and wish to be able to display all my menus again.
I must admit I found it quite disconcerting not to be able to see all the menu commands, and irritating when I found I was using the little scrolldown arrows all the time anyway, so I turned the feature off some time ago. To make your menus display their full set of options again, go to the Tools menu, click on it and select the Customize menu item. Click on the Options tab when the dialog opens, and look for a checkbox labelled 'Menus show recently used commands first'. Click in it to clear it and then close dialog. You should now have all your menu items back.
How do I stop the Office index program from running? I really don't need it running, it always chooses the worst moments and it just seems like a complete waste of time to me anyway. Can I delete it from the Start menu?
You don't want to just delete it from the Start menu, as quite apart from anything else it will leave you with a load of index files lying around on your hard disks that you won't be able to get space back from. I actually think you're wrong about the FindFast indexer, and that once you've got rid of it you'll want to have it back. But if you're determined to remove it, do it in this order.
Start off by deleting all the Find Fast index files, thus: Click the Start and select Settings - Control Panel. When Control Panel opens, look for the Find Fast icon and double-click on it to open it up. Look in the 'Index for documents in and below' list and delete each entry using 'Delete menu item' on the Index menu. When you've done that, go back to the Index menu and make sure that the 'Run when I log on' checkbox is cleared, and then click 'Close and Stop' on the Index menu.
I've installed the trial version of Microsoft Office XP Developer and I'm trying to use it to create a Dashboard in an Exchange public folder. Every time I try to create the Dashboard, I get an error message saying that I'm using the wrong version. Is this an Office XP problem or an Exchange problem? Are we going to have to wait for a Service Pack for Exchange to fix it?
I ran into the same problem when I installed the trial version too. In fact, there are a number of things you need to do to the Exchange system to get it working with Office XP; some documented and some not. To begin with, you need to enable Script execution on the Public vroot of the Exchange 2000 Server. I followed the suggestion in the documentation, but when I spoke to Microsoft PSS, it pointed me to a different location to do precisely the same thing, so I'll pass on both methods. The Microsoft documentation says to do the following:
1 Start I Programs I Administrative Tools I Internet Services Manager. Expand the server and the default Web site.
2 Right-click on the Public node and select Properties from the pop-up menu. Make sure the Virtual Directory tab is selected, then look down at the bottom of the dialog box and you'll see a combo box labelled 'Execute Permissions'. It's probably displaying 'None' as its entry at the moment.
3 Click on the down arrow and select 'Scripts only' from the list, then click on the OK button. That's the way I tried without success, so as I was going through a step-by-step procedure with Microsoft in an attempt to isolate the error, one of the things I was told to do was this:
1 Start I Programs I Microsoft Exchange I System Manager. Expand the folders in the following order: Administrative Groups I First Administrative Group I Servers I < server name > I Protocols I HTTP I Exchange Virtual Server.
2 Right-click on Public folder and select Properties from the pop-up menu.
3 Click on the Access tab and make sure that 'Scripts' is enabled in the 'Execute Permissions' frame.
Browse your Microsoft Office XP Developer CD on your Exchange Server system, find the MSXML folder and then run the setup program to install MSXML 3, followed by copying PROXYCFG.EXE from the same folder to a folder on your hard disk. Fire up a Command Prompt, navigate to wherever you just put PROXYCFG.EXE and type the following: proxycfg -d -p proxyname"<local>"
Substitute a name of your choice for 'proxyname', either a real or imaginary proxy server, and type < local > in double quotes. You need to run the proxy configuration utility even if you don't have a proxy server, for a variety of reasons. I suggest you read the documentation on the Office XP Developer CD to find out more about what you're doing by following the steps I'm outlining at the moment.
You must reboot the Exchange Server after running the proxy utility, so you need to pick a time of day to do this when the server going down for a short while won't matter. Now, in theory, at this point you should be able to create a public folder in Exchange, fire up your Office XP Developer development environment and do the following: File I New I Project
Select Dashboard from the options on offer, enter the path to the public folder you just created and hit the OK button. That's the theory. In practice, I found I lost the error message telling me I had a version clash with Exchanger Server 2000, but I was now told that I didn't have sufficient privileges to complete the operation I was currently attempting.
Microsoft PSS in the UK worked through this with me and came up with the same error, so the problem was escalated to the US. A charming gentleman phoned me from North Carolina, and we then spent several hours trying to resolve the issue. Part of the problem was that he simply couldn't reproduce the error, which always makes life a tad difficult. After a while we realised that one of the things he was doing differently was that he was working locally on the server, logged in as the Administrator, had Office XP Developer installed on the Exchange Server system and was running that as Administrator as well.
I, on the other hand, was running Office XP Developer from a workstation where I was logged in with my user account, and had my Exchange Server box running in a Terminal Services client window where I was logged in as Administrator. I was using the Exchange System Manager MMC console to create the public folders into which I was going to place the Dashboards I was creating. Then changing the properties of the folder and adding my user account as Owner of the folder (otherwise I'd have had permission errors when I tried to access the folder from the workstation in order to create the Dashboard).
My new friend in North Carolina tried logging into his own box using a Terminal Services client of his own, but still couldn't reproduce the error: at that moment he asked me to create a new public folder in order to try something else. I was sat at a different machine, so I fired up Outlook and created the public folder in that. I then went back to my other workstation, attempted to create the Dashboard project in the new folder and it worked perfectly. After further experiments we arrived at the inescapable conclusion that Exchange, via the Exchange System Manager MMC, uses a different method to create public folders than Outlook.
I couldn't get Office XP Developer to create a Dashboard project for me properly, via Exchange, but create the folder via Outlook from a workstation (logged in using the account that was using the Office XP Developer code environment) and the Dashboard project was created without a fault. So my advice at the moment is to create the folders via Outlook and not via Exchange directly, and hopefully you'll avoid the three days of investigation it took to find this partial solution. I have to assume that the testing for this product wasn't done on self-hosted servers, but as soon as I have an answer I'll let you know.
I recently installed Office 2000 on my new PC and everything is working fine. But I noticed that the button bar was filling up with icons of my opened Office documents. I went to the old PC and started Office 97, opened three documents, and only one Word 98 icon appeared in the button bar. Is there something wrong with my setup? I often have five to six documents open at a time, working between them and, with other support programs open while working in Office 2000, the button bar is becoming congested even on a 19in monitor. To the best of my understanding, each icon that was 'open' represented a separate Office 2000 activity. I found this out by printing the wrong document several times while trying to change from one to another.
What you're seeing here is the difference between Word 97, which is an MDI (Multiple Document Interface) application, and Word 2000, which is an SDI (Single Document Interface) application. When you use Word 97, all the open documents are stored within Word, and you switch between them using mouse clicks, menu commands or keystrokes, depending on the method you find easiest. As Word 97 opens each document, maximised within the Word environment, most people used the Window menu to switch between documents.
Unfortunately, the Microsoft Technical Support lines used to get swamped with calls from people who would open a new document (which opened maximised, thus covering any previously opened documents), demanding to know where their other document had gone. So in a bid to stamp this out, Microsoft decided to place each Word document in Word 2000 in what is effectively, a complete new shell of the Word user interface, as each one is, to all intents, a separate application window - you get an icon on the toolbar for each document you keep open.
Microsoft has probably had more complaints about this change than it ever got before, asking where documents had gone. As a result, in Word XP you can now choose either SDI or MDI format. For the benefit of anyone who's just bought/upgraded to Office XP, the way to switch back to MDI format with the single icon on the taskbar and all documents in the same shell (SDI is the default) is as follows:
1 From the Tools menu, choose Options and make sure the View tab is selected.
2 On the top line of checkboxes in the 'Show' frame, find one labelled 'Windows in taskbar'.
Click in that to clear it and you'll switch back to the MDI style of document management.
Word
Sometimes Word crashes and disappears (no surprise there) but when I go to restart it I'm locked out of the document I was editing and have to make a copy in order to continue working on it. Short of a reboot, which is time-consuming and inconvenient, is there any other way of getting around this?
It sounds as if Word hasn't shut down completely, even though its window has disappeared. Press Control &Alt & Del to see a list of running applications and End Task for any Microsoft Word entry, which mayor may not have a document mentioned. Wait for the confirmation box, press End Task again and you should be able to restart Word and resume work normally.
Where can I find the male and female symbols?
Both can also be found in Word's Miscellaneous Dingbats section.
If you mean the scientific symbols, then these are actually in the Windows Unicode core fonts (Times New Roman, Arial, Courier and Lucida Unicode) and you can get at them through the Insert, Symbol dialog in Word 97 or 2000. You'll find them in the Miscellaneous Dingbats section. If you mean the things you see on toilet doors, then there's a pair of skirted and trousered silhouette figures in the Webdings font, which also ships with Windows 98. The latter you can access in any application, by switching to the Webdings font and typing Alt & 0128 or Alt&0129 on the Numeric keyboard.
Is there any way in Word to search for tabs followed by numbers
(not characters) and vice versa?Yes - you'll find these on the 'Special' list in the Find dialog you may first need to click the 'More' button. Use ^t^# to find tab-number and ^t^$ for tab-letter.
I need to create a Word document template where a person's name has to appear in several places. How can I implement this but only ask them to type it in once?
There are several ways to do this the easiest and macro-free way is by using fields. Create a new template and add whatever standard text you need. For the first occurrence (in fact it can be anywhere in the document) of the name insert a FILLIN field with the prompt: 'Please type in your name'. This will produce a little dialog box containing a prompt and a space to type. Cancel it for now. Select the field, Insert, Bookmark, then give it a name let's say 'Username'. Now go to the next place you need the name to appear and insert a REF field followed by the name of the bookmark, and repeat for subsequent occurrences. Save the template.
When any new document is created from this template, the 'Please type your name' box will appear -when the user does so, and clicks on OK, the name will appear at all the designated locations.
In a recent Solutions column, I read a query about preventing Word from formatting email addresses and links as underlined blue text. You suggested unchecking Internet and network paths with hyperlinks under Tools/AutoCorrect/AutoFormat (and AutoFormat as you type). However, I have found that this prevents the text from becoming a hyperlink.
To prevent reformatting without losing the hyperlink, you can change the Hyperlink style. Select Style... from the Format menu and choose Hyperlink from the list (you may need to select List All Styles). Click the Modify button, then on Format I Font. Set the colour to Auto and underline Style To None. Click OK twice, then click on Close to finish.
After following the steps above, repeat the process to remove special formatting for the style named FollowedHyperlink. You can, of course, restore the original underlined blue and violet text by editing these styles again. This tip changes styles in the current document only, though. If you want to change them for all future documents created using the same template, then check the Add to template box in the Modify style dialog.
I've joined two Microsoft Word 2000 tables, both of which have the same number of columns. The columns in the two parts of the combined table are slightly out of alignment, though, and they're very tricky to align. The easiest way to align them seems to be to convert the tables to text and then convert them back to a table, but that creates new problems to fix. There has to be an easy way, but I can't find it.
Click the Table menu and choose Select I Table. Now, choose Table Properties from the Table menu and click its Column tab. Check the Preferred width box and enter a value for the width of all the columns. When you click on OK, the two portions will be aligned. Now you can restore the desired width of each column.
In Word 97, choose Select I Table from the Table menu, then choose Cell Height and Width from the Table menu. Again, set all columns to the same width and then restore the individual widths.
In Word 2000, the option to create a hyperlink gives a further option for 'Browsed pages' This lists all the URLs that your Internet Explorer has ever visited. Is there any way to clear this list?
I should think that this list is extracted from the contents of the various History folders used by Internet Explorer, and that deleting the contents of the History folder would clear it. However, I use my History list a lot, so I'm not prepared to put this theory to the test To clear the contents of your History folder in Internet Explorer, do the following.
Start up Internet Explorer, then go to the Tools menu, click on it and select the Internet Options menu item. On the General tab, at the bottom, is a frame labelled History. Click on the Clear History button to remove its contents, or perhaps just lower the number of days it holds History items if it's the size of the list that’s bothering you.
I seem to recall a tip you gave a while ago regarding an easy way to get to a specific place in a Word document, without using bookmarks. It worked so that when you loaded the document, it went straight to the point you'd selected in the document as the return point.
All you do is select the text in your Word document that you want to use as the marker, and then drag it, using the right-mouse button onto your Desktop. Once there, select the Create Document Shortcut Here menu item. Save the document and then close it If you then go and double-click on the document shortcut you just created, Word will spring to life, load your document in its entirety, and jump to the start of the section where you selected the text to create the shortcut.
Every time I change the indentation settings for my list setting in Word, they get lost as soon as I close down Word. I've made sure the changes were added to the template, but it still has no effect. Is it not possible to make my changes stick?
It is possible, but you can't do it by modifying the default style templates, as they're designed to not accept the changes on a permanent basis, and revert to their normal settings when Word is closed down. If you want to change those settings you're going to have to create a Custom style, as opposed to a List style, and save them in there and then apply the custom style when you need that particular list design. An important thing to note is that you mustn't base your Custom style on a List style, or the same thing will happen and your changes will be lost.
I want to change the horrible blue colour used by Word 2000 to display hyperlinks to something more suitable. I can't find an entry anywhere in Options that allows me to do it. I've tried bringing up the Properties window for a hyperlink, but I can’t find anything there to help me either.
To change the colour of hyperlinks in Word, you need to change the Hyperlink Style. You can only do this when there's a hyperlink on the page so create one and do this.
1 Go to the Format menu, click on it and select the Style menu item.
2 Select the Hyperlink Style and then click on the Modify button.
3 When the Modify Style dialog opens, you then click on the Format button and then choose Font from the drop-down menu list.
4 You can now select the colour you wish the style to use.
5 Close down all the dialogs when you've done this and your hyperlinks will now use the new colour.
In the past you've done macros in Word for font displays and other items. I was wondering if you could do a macro for Word that would create automatic date entries in a file, so that it could be used to record when events took place. The file would have to be in text format, however. Would this make a difference?
It certainly would: if you want the file in text format, you may as well use a program set up to work with text. In fact, you can do exactly what you want to do in Notepad, without having to write any macros at all. Its a little-known fact that if you open Notepad, type .LOG on the first line and then save the file, when next you open it you'll find that the date and time have automatically been entered for you into the file. Every time you open the file, the date and time get entered below the point where the text ends, which is rather handy. You could create a shortcut to the file on your Desktop, and save and reopen it in seconds, each time generating a new log entry.
Another handy tip for Notepad is to create an entry in the SendTo folder, so that when you right-click on a file and select the Send To menu item, Notepad appears as one of the menu choices. To do this you must first locate the Send To folder, which will vary depending on what version of Windows you use Basically, under Windows 9x you'll find it as a subfolder of the Windows folder. Whereas under Windows 2000 you'l1 find it as a subfolder of the Documents and Settings\User Name folder.
Once you've found it, open it up, right-click in it and select the New item, followed by the Shortcut menu item. When the shortcut Wizard appears, hit the Browse button and head for your Window's folder. Scroll down until you find NOTEPAD.EXE and make that your program of choice.
Give the shortcut a name, and that's that. Next time you right-click on any file and select the Send To menu item, you'll find Notepad has appeared as one of the options.
I like to write text with inset photographs. This is easily done in MS Word 7 by using the Insert/frame to locate the picture and then the Insert/Picture to transfer it. The dialog box asks first if one wants to link or embed the picture. This is OK, but the trouble is that embedding is the default option. Forget to change it and there's a megabyte stuck into the text file.
Sooner or later, I do forget to change the option to 'link' and problems arise embedding is messy to undo and takes ages. It isn't easy even to know when this has happened apart from the abnormal size of the text file and it isn't easy to find which image has slipped past me. No-one I have asked can figure this out. The expert view is that the default can't be changed. But I don't believe that the dialog box looks ripe for amendment by someone who knows how.
Word 7, alias Word 95, is probably a bit old now. While I do have a habit of using old word processors (I used WordStar from 1977 until 1993 before switching to AMI Pro, which I still use), later versions of Word do have many improvements. I still use Word 97 for some tasks. Now that it's 2001, I might even consider switching to Word 2000, but first Ram prices will have to come down a bit more.
Anyway, what you want is possible but only if you are prepared to get to grips with Word's macro programming language. I will explain in detail for Word 97 the procedure will be similar for Word 95 and Word 2000, although Word 95 used a different macro programming language. All the built-in commands in Word are performed by macros written in this language. You can't alter the built-in macro but you can replace it by writing a macro of the same name and storing it in your Normal.dot template. Then your modified command will be used in place of the built-in command.
Word even makes it easy to access the built-in macro if you know how. Select Tools, Macro, Macros and then select the drop-down option 'Macros In:' to display Word Commands. This displays a list of all the built-in command macros. The one you want is called InsertPicture. Highlight it and unfortunately you will see that the Edit button is greyed out Now change back to 'Macros In' Normal.dot; you will still have the name of the selected macro and can use the Create button. Moreover, when you do so, you will be given a copy of the built-in command macro to start from. This reads as follows:
Sub InsertPicture()
'
.InsertPicture Macro
.Inserts a picture from a graphics file" '
On double-clicking to open a Word97 document, I receive the above error. Clicking on
'End' results in the document opening normally. The other option 'Help' - isn't. What could be the cause of this error, and how do I cure it.One reason that this (Visual Basic) error may appear is that the _stamps.dot template, provided by Stamps.com is located in your Office Startup folder. MS Knowledge-base Q270225.
The _stamps.dot template is installed by a third-party add-in that lets you use Internet postage from Stamps.corn in Microsoft Word. For more information, please browse to the Stamps.com Web site at http://www.Stamps.com.
The default location of the Office Startup folder is
C:\Program Files\Microsoft Office\Office\Startup.
To resolve this problem, upgrade to version 2.2.2 or later of the Stamps.com Internet Postage software.
OR
To work around this problem, delete or move the _stamps.dot template from your Startup folder, by following these steps:
1. Quit Microsoft Word.
2. In Office Startup folder, click to select _stamps.dot.
3. Then - To delete _stamps.dot, click Delete on the Edit menu, or
To move _stamps.dot to a different folder, click Cut on the Edit menu. Select the folder where you want to move _Stamps.dot, and then click Paste on the Edit menu.
4. Restart Microsoft Word.
Can you supply me with half an answer? (I already worked out the other half). I want to print short runs of business cards and compliments slips on a laser printer using Word 2000. As several copies of a card or slip will fit on a sheet. It seemed easiest to cover the page with a table. Each cell contains one card or slip. The document for the cards has a page covered with a 2 x 5 table, while the slips are in a 1 x 3 table. Having edited a design in one cell. I needed an easy way to copy it to all the other cells. To do this I recorded a macro as follows: Select the current cell (Table/Select/Cell); Press [Ctrl][C] to copy it; Select entire table; Press [CtrI][V] to paste. Word fills all the cells with a copy of the cell containing the insertion point. I assigned the macro to a button on the Tables and Borders toolbar. When you are fiddling with a design and printing off samples, a lot of toner is wasted if the rest of the page is filled with the old design. It does not seem possible to record a generic 'clear all cells but this one macro which doesn't care about the table size or which cell contains the insertion point. Can you solve this?
Yes, we can do that, and also upgrade the macro you have already created. Your macro has a small drawback in that it only operates on the first table in the document. If you decided to put more than one item of stationery in one file, for example cards for different people, then the macro would not operate on the second or subsequent tables.
My version works in any table but note that, like yours, although it works on all objects within a cell including graphics, it won't work if a graphic object is selected when you run the macro. This is a limitation of Word and is easily avoided. Neither will it work if the selection extends over more than one cell. My 'clear all cells but this one' macro works, copies the contents of the cell containing the selection point, wipes the entire table, then pastes the cell back into place. There are probably other ways to code it, but this must be about the simplest. It ought to work reliably, but if something does go wrong and you're left with an empty table, remember that you can manually paste the copied original from the clipboard.
Both macros are in the file TableMacros.dot and require Word 2000. They will fail with earlier versions. Copy the file to your hard disk and go to Tools/Templates and Add-Ins. Click Add and then browse to TableMacros.dot. Select it and click OK. Turn on the Tables and Borders toolbar. Right-click it and select Customise. On the Commands tab scroll down the Categories list to Macros. Drag TemplateProject.Table Macros.TableFill with ThisCell and .TableCIearAIIButThisCell from the command list to the toolbar. Rightclick each one in turn and edit the names down to something more manageable. Close the dialog.
Tempting though this may be, there have been many reports of lost or corrupted data when using master documents. If you want to split a document into chapters -possibly with chapter/page numbering so you don't have to reprint the entire document when one chapter is edited use section breaks instead, or split the document up into separate, independent files.
By default, Word 2000 turns anything it thinks is an email address or a URL into a live, working hyperlink. There is a snag to this: if you mis-type the address, and then correct it by using the cursor keys to 'get in' and edit it, the underlying hyperlink won't update. You need to right-click on the link, then Edit Hyperlink.
If you find this auto-hyperlink feature irritating -after all, it's not much use in a printed document -you can turn it off from Tools, Autocorrect, Autoformat As You Type. You will still be able to create hyperlinks by highlighting text or graphics, then pressing Ctrl & K. Although Word will fill in anything that looks as though it's a valid address as the link, you can override this manually and have, say, 'Visit my website' or 'Email me' as the visible title of the link.
This is one of the most useful, and most frustrating, features of Word. If you frequently mis-type a word, eg Intenet or Rebbot for Internet and Reboot, then right-click on the red-underlined word, but instead of clicking the relevant suggestion, go to the Autocorrect option on the context menu. You'll see the same suggestions, but your mistake will get added to the Autocorrect list. You can also remove entries (Tools, Autocorrect...) and make exceptions, so PCs, for instance, doesn't get changed to Pcs.
You probably know that you can select columns in a table by clicking at the top of them. But you can also do this for ordinary tabbed text? Alt & drag selects a rectangle of text anywhere on the page.
Trying to select more than a window-full of text can be frustrating, especially with a fast display card, as the highlight tends to shoot back and forth past the intended selection. Left-click once where you want to start, use the scroll bar to navigate until the end of the intended selection is visible, and Shift & click again.
Despite Word 2000's single document interface, there is a way to save all open documents, or close them, without closing Word. Hold down the shift key as you drop down the file menu and you'll see two new commands, Save All and Close All.
Keeping tabs on the File, New dialog
If you want to create your own custom tabs on the File, New dialog, it's easy. Just navigate to your main template folder in Windows Explorer, and create a new folder within it.
It's a good rule to use paragraph or character styles to format text, rather than applying formatting directly. This saves time in the long run and keeps documents consistent. However, rules were made to be broken, and there may be times when you've created some custom formatting that you'd like to repeat. If you click the Format Painter button (it looks like a brush) then 'dip' it in the formatted text you want to copy, you can then 'paint' other text by dragging the brush through it.
On a related note you can see a list of the paragraph, character and direct formatting of any character by clicking on the 'What's this' button (arrow & question mark) then clicking in the text. Click on the button again (or just resume typing) when you've finished.
PowerPoint
If you're used to organising your presentations in PowerPoint's outliner, then remember that you can also use Word's rather more powerful equivalent. Each top-level entry denotes a new slide, with lower levels forming nested, bulleted lists. 'Normal' text is ignored. A tip-within-a-tip: don't bother trying to import the Word file into PowerPoint, instead, while still in Word, go to File, Send To, PowerPoint.
The free Photo Album add-in is available from http./ /officeupdate.microsoft.com/ 2000/downloadDetails/ album.htm. This lets you create a photo album from images on disk, a scanner or a digital camera. You have a choice of the number of pictures per page, frame style, backgrounds and captions: the last are generated from the image file name. The whole business takes just a few mouse clicks.
Having done this, you can use the Pack and Go Wizard to send the entire presentation or album to someone else (File, Pack and Go). If they don't have PowerPoint, you can include the PowerPoint standalone viewer. There is an option to span multiple floppy disks: this takes time as the files involved are large, but the process just involves inserting new disks when prompted.
Make it simple for the recipient
Unpacking the viewer and presentation is not granny-proof, so it would be wise to include instructions. Two files need to be sent -the ppz file itself and pngsetup.exe. The recipient needs to run the latter, which will ask for a destination folder. This has to be typed in as there's no Browse button, and the folder name must be no longer than eight letters, without spaces: one for nostalgia fans. This will decompress the various files needed (again with prompts to change floppies, if applicable), and the recipient can then run ppview32.exe from the aforementioned destination folder. This will produce a standard File Open dialog with a ppt file visible in the contents. Select this, click Show, and the full-screen slideshow will begin.
When you use the drawing toolbar, you can drag the nested palettes off the AutoShapes menu to create standalone toolbars. This tip (and the next two) work in all Office situations where the drawing toolbar is visible.
If you double-click instead of single-clicking on a shape tool, it becomes 'sticky': you can continue to use the tool to create further shapes without having to select it each time. Click the tool again, (or any other tool) to unstick it.
Having chosen fill and line styles and colours for a drawing object, you can right-click and Set AutoShape Defaults and all new shapes will inherit these styles, except for text boxes. Note that this last exception doesn't work for Word and Excel.
In addition to the standard Office keyboard shortcuts, PowerPoint has a few that are all its own. Ctrl & M inserts a new slide, Ctrl & D duplicates the current slide, Ctrl & G toggles the guides on and off, and F5 starts a slide show.
If you're giving a slide show on screen, you can pause the show by pressing the full-stop key (or b). The screen will go black. Press the key again when you are ready to continue. If you'd prefer a white screen, press the comma (or w) instead.
The Office Assistant may be useful after all
Designing a good presentation takes special skills. As well as being a good communicator, you need a modicum of artistic talent if you plan to stray from the predefined templates. The much-maligned Office Assistant can be quite useful here, with the 'lightbulb' suggestions offering useful advice on layout and spotting potential problems. You can fine-tune the rules from Tools, Options, Spelling and Style.
Access
I am trying to share an Access MDB file across the network so that two people can use it at the same time. I have put it on a shared drive. Either person can open it on their own, but they can't open it at the same time. Any ideas?
You don't say what happens when they both try, but it's likely that Access is opening the file in exclusive mode which, as the name suggests, excludes anyone else from using the file. From each workstation, open the file and select Tools, Options, Advanced and set Open Mode to Shared and the default Record Locking to Edited Record.
I am setting up an Access 2000 database to keep a list of personal details including birthdates. How do I get it to record, display and update a person's age?
What you don't do is have a field in which you manually enter the age. If you did that, you would have to come up with a way to update the age field every time the table was opened, or the clock struck 12 when it was already open. This is technically possible, but a very clumsy way to handle the problem. It would also be a waste of space because you're holding the same information twice -given that the computer knows today's date, the age can always be calculated from the birthdate.
One approach is to create a user-defined function which, given a date, returns the age in years. This function will be usable in filters and on forms and reports. This enables us to easily display and utilise the age without re-typing a long complicated formula every time it is needed -the formula is encapsulated inside the function Age.
Open the file Access2000Macro.txt from the SuperDisc. Copy the macro code from there to the clipboard. In Access, press [Alt][F11] to bring up the VBA editor. On the far left, right-click the name of your data and select Insert/Module. Paste the code into the window that appears on the right. Close the VBA editor. You will find that the Age function appears in the Expression Builder and can be used alongside the built-in functions. For instance if you have a field called DateBorn, you can specify a filter condition to see the records for people under 40 years of age. Age([DateBorn]) < 40.
To display the age on a form, in Design mode you can add a text box and, on its Properties sheet, fill in the ControlSet property with =Age([DateBorn])
We have a form in Access 2000 that has a number of mathematical functions on it. It was working fine, but we recently added some new items to the form, and now whenever we open the form it displays #Error? in all the controls with maths functionality. I've checked all the code and can see nothing wrong. I enclose a printout of the mathematical functions, as there are only five on the form, and wonder if you can see what the problem is.
I'm glad you didn't have more functions in the code, but it wouldn't matter because I already had a good idea about what the problem is, having seen it before. Your problem is you have one control that gets its result from an expression calculated within another control, and you can't do that for certain functions. Your situation is quite complex because of the way you've structured the data, so I'll use a simple example to explain what's wrong. Let's say you had a control on a form with a ControlSource and ControlName of 'Boxes'. Now lets say you place a text control on your form, with a name of 'Text1 ' and a ControlSource of ' = Sum([Boxes])'. So far all is well but, were you to add a second textbox to the form and set its ControlSource to '= Sum([Text1])', you'd see that your error instantly appears, and that's because you can't use a calculated function (in this case 'SumO') on a calculated expression.
Access has a habit of presenting information in grids that only show part of each field. Of course, you can fiddle with font sizes and column widths, but a handy tip is to press Shift-F2 to zoom into a field. What really happens is that the field contents open in a separate window, making it much easier for serious editing. This also works in the Query designer, for example to save you typing long expressions into a tiny Criteria field.
Don't store images as OLE objects
The official way to store images in Access databases is by using OLE (object linking and embedding) objects. Although this is easy to do, there are many disadvantages, including a bloated database size, unpredictable behaviour on different systems, and problems accessing the graphic through code. One better way is to keep the images as external files, storing just a path name in the database, and using the Image control to display the graphic on a form. If you need to store the image itself within the database, save it as a BLOB (Binary Large Object) rather than an OLE object. You can display it by writing code that saves the image to a temporary file before showing it on a. form. Example code is in Microsoft's KnowledgeBase or is widely available on the web. In this case, you can get better performance by keeping images in a separate Microsoft database (MDB) and linking the table.
Null values are in Theory a ‘good thing’, because they let you distinguish between unknown and empty values. In many cases, though, null values are a nuisance. To prevent null values in a field, open the table designer. For text and memo fields, set Allow Zero Length to True and the Default Value to "" (two double quotes). For other field types, ensure that there is a Default Value. Note that this will not affect existing records. If you have to work with null values, use the IsNull function or the special criteria IS NULL and IS NOT NULL in the query designer. In general, if you are getting unexpected query results, null values are often the cause. Fields with null values will never be selected by a query unless you specifically ask for them.
I'm trying to import a table from Microsoft Word into Access, but when I try to do so it gets all messed up, and the contents of each cell seem to be placed randomly into Access records. I've enclosed screen shots of the Word table and the Access table to show you what's happening.
The screen shots show me that Access isn't being random in its allocation of Word table contents to Access record contents. In fact, what its doing is selecting values based on the carriage returns in your Word document. You'l1 need to modify your Word document so that you can export the table eventually into a tab-delimited text format ready for import into Access. This is quite a long process, with some repetitive steps, but it will achieve your desired results at the end of the day. You're going to kick off by temporarily replacing all the carriage returns paragraph marks) in the document with a character that isn't already used in your table, such as the tilde '~'. To do so, follow these steps:
1 Head up to the Edit menu and select the Replace menu item.
2 In the Find and Replace dialog box, type ^p in the Find what box and type -in the Replace with box.
3 Click on the Replace All button when you've done that. When you receive a message that the search and replace is complete, click OK to clear the message box and then close the Find And Replace dialog box. The next step is to convert the table to tab-delimited text format, by following these steps:
1 Click in any cell in the table.
2 Head up to the Table menu and select the Select Table menu item.
3 Head back to the Table menu, but this time select the Convert Table to Text menu item.
4 In the Convert Table to Text dialog box, click Tabs and then click OK.
5 Type a quotation mark (") at the very beginning of the document, to the left of the first column name in the top left cell of your table: this is the first text qualifier that will surround each field in the table.
Be aware that if the text in your table contains any quotation marks, you must remove or replace them with another character, such as an apostrophe (') before proceeding, otherwise the table won't be imported correctly. You're now going to replace all the carriage returns in the document with a carriage return surrounded by quotation marks. To do that, follow these steps:
1 Head once more up to the Edit menu and select the Replace menu item once again.
2 In the Find and Replace dialog box, type ^p in the Find what box and type "^p" (with the quotation marks) in the Replace with box.
3 Click on the OK button when you receive a message that the search and replace is complete, and then close the Find and Replace dialog box.
You now have to replace all the tab characters in the document with a tab character surrounded by quotation marks in a similar way, by following these steps:
1 Head once more up to the overworked Edit menu, and click once more on the now tiring Replace menu item.
2 In the Find and Replace dialog box, type ^t in the Find what box and type "^t" (with the quotation marks) in the Replace with box.
3 Click on the Replace All button.
4 Click on the OK button when you receive a message that the search and replace is complete, and then close the Find And Replace dialog box.
Had enough yet? No? That's good, because you're not quite finished. The next thing to do is to restore the original paragraph marks in your document by replacing all those tildes you inserted earlier with carriage returns. To do so, follow these steps:
1 Head once more for the Edit menu, and select the long-suffering Replace menu item.
2 In the Find and Replace dialog box, type -in the Find what box and type ^p in the Replace with box.
3 Click on the Replace All button.
4 Click on the OK button when you receive a message that the search and replace is complete, and once more close the Find and Replace dialog box.
5 Go up to the File menu, and select the Save As menu item.
6 In the Save As dialog box, select Text Only in the Save As Type box and type MYFILE. TXT in the File Name box.
7 Click on the Save button when you've done that, and then close the document.
After this you should be able to import the text document into Access in the usual fashion thus:
1 Fire up Access and open the database into which you intend importing the text file data you just created.
2 Head for the File menu, select the Get External Data menu item and then click on Import.
3 In the Import dialog box, select Text Files in the Files Of Type box and then select MYFILE. TXT from whatever folder you placed it in. Then click on Import.
4 Click Next on the first screen of the Import Text Wizard; click to select the First Row Contains Field Names checkbox on the second screen of the Wizard, and finally click on Finish to import the table.
Hopefully, you should now find that all your data has been successfully imported into the correct records in your Access database. Phew.
Access is generally regarded as case-insensitive. However, you can do case-sensitive queries using the StrCornp() and InStr functions. Use StrComp to match a whole field, and InStr to match any part of the field. For example, here's how to search for 'van' but not 'Van' in an Artist field. Open up a query in design mode, add the required fields to the grid, and then enter the following at the top of a blank column:
InStr (1, [Artist], "van",0)
Access will prefix it with "Expr1:" but don't let that worry you. Now enter:
>0
in the Criteria row and run the query. This will return 'van Eyck' but not 'Van Gogh'.
In an Access database, if you name a macro AutoExec it will run automatically when the database is opened. If you press Shift, the macro will not run. If you are really insistent, you can prevent Shift from bypassing the start-up code by setting the AllowBypassKey property to False. Unfortunately you have to do this using Visual Basic code, but a full example can be found in online help. Search for AllowBypassKey.
SQL sub-queries are a powerful technique for data manipulation. For example, imagine you have two versions of the same table, and you want to append rows from one to the other, but only where they do not already exist. Assuming a primary key field called ID, here is the SQL: INSERT INTO artists
SELECT NewArtists.*
FROM NewArtists
WHERE NewArtists.id Not In (select Artists.id from Artists);
Decompile mode -an undocumented recovery technique
Stuck with a corrupt MDB? According to Microsoft, the undocumented decompile mode for Access 2000 can fix corruption that the ordinary repair utility cannot manage. To use it, run Access with the command-line argument: /decompile "dbname" where dbname is the full path to your database. You can do this by editing a shortcut. This tricks Access into thinking it must change the binary format. Note: before trying this or other repair attempts, make a backup of the errant MDB.
If you share an Access database over a network, consider using one MDB for all the forms, reports, macros and VBA code, and another for the data. Use the Link table feature to attach the database tables to the application MDB. Now you have the option to store the application MDB on workstations while keeping the data in a shared location, speeding performance. The downside is that if you update the application, you must take care to replace all the copies, perhaps using a login script.
Two ways to improve performance are to defragment your hard disk and to use the Compact and Repair utility in Access to optimise an MDB. When you do this, it is best to defragment first. If you Compact first, the MDB is likely to be surrounded by used disk space, slowing access when data is added. Defragment followed by Compact is likely to leave the MDB with adjacent free space, which is the ideal scenario.
Indexing a column in a table speeds searches on that column, but every index you add slows down database updates. The value of an index therefore depends on how the data is used. If you have lengthy update routines on a large database, you can often improve performance by removing indexes other than the primary key before the update, and rebuilding them later, using VBA code to automate the process.
Excel
How can I colour alternate rows on an Excel spreadsheet without losing the gridlines between cells?
Excel assumes you wouldn't want a decorative spreadsheet spoiled with mundane lines. But you can create the effect as follows. Display the Formatting toolbar. Click on the Row Number of row 1. Click on the Fill Colour palette tool and select a colour. Click on the Borders tool and select the underline. Repeat this for row 2 and so on. To handle more than a row at a time, hold down the Ctrl key and click on the required row numbers. For vertical gridlines, click on the Column Letters and select a side border. Whether all this will print on a hard copy depends on your printer driver.
How can I edit a hyperlink on an Excel spreadsheet? When I point to it, the pointer changes to a hand.
With the hand showing, right-click and choose Hyperlink, Edit Hyperlink. Then make the change. Alternatively, you can click on the cell next to the hyperlink and use an arrow key to select the hyperlink cell and press Ctrl & K. Either method will display the Edit Hyperlink dialog box with the specific link shown.
The right-hand side of the Excel, File, Open dialog box always says, Preview not available. How can I make one display?
Open any Excel workbook. Choose File, Properties and the Summary tab. Check the Save Preview Picture box.
There must be a way
to reset the working area in a similar fashion to selecting the print area, but I can't find it. Deleting 65,000 rows is not a viable option.If you use any cell beyond your last active cell, Excel automatically redefines the work area. The normal solution is to delete all the columns, then all the rows, between your preferred bottom-right cell and the stray one far away. Then Save, Close and reopen the file. Alternatively you can clear that alien cell and then use this simple macro:
Sub ResetRange()
ActiveSheet.UsedRange
End Sub
How can I make an Excel macro become available in any new or existing workbook that I open?
Copy the VBA for Excel listing into a file called Personal.xls and save it in the \Xlstart directory which is probably in the path: C:\Program files\MicrosoftOffice\Office\. That workbook will automatically open when you start Excel and its macros will be available while this file remains open. Bear in mind also that, unlike Word, Excel does not maintain a link between a workbook and the template you use to create it. If you add or edit a macro in an Excel template, it's only available in workbooks you later create from that template.
I know about starting Excel using the startup switch' I', but how do I get a particular workbook launched via a shortcut to start in a maximised window?
Right-click on the shortcut, choose Properties and in the Run dropdown box choose Maximised.
To quickly adjust the width of various chosen columns, hold down Ctrl as you click the column heading letters, then drag a heading boundary of any of the columns. A tip box will display the column width. To adjust the width of adjacent columns, hold down Shift as you click the first and last columns, then drag the right-hand boundary. These tips apply similarly to rows.
To create a formula, click the often-neglected Paste Function tool (marked fx) on the Standard toolbar. Select a function and a description appears in the Paste Function dialog box. The Help button leads to examples of use of the function. As an alternative to this tool, click the equals sign in the Formula Bar and the Name Box on the left will list the most recently used functions.
For quick calculations on a worksheet, use the AutoCalculate feature. Select a range of figures and a total of them will appear in the Status Bar. Right-click on this total and you can change it to an average or a count of the numbers in the range. AutoCalculate can also show you the biggest or smallest number in the range. If the Status Bar isn't displayed, select it on the View menu.
To line up drawn objects, like rectangles, with worksheet cells first click Draw, on the far left of the Drawing toolbar, then Snap, then To Grid. To line up drawn objects with each other click Draw, Snap, To Shape. To line up two different sized drawing objects with each other select them (by holding Shift as you click them both) then choose Draw, Align, Align Bottom.
The fastest way to create a chart is to select the full range of a table (including labels) and press F11. Excel will draw a column chart on a new interactive chart sheet, with the x and y axes labelled, colours chosen for the data series, and a legend box in place. You can right-click on any part of the chart to change any aspect of it.
Sorting out problems with links
You can often solve problems with links to other workbooks or Office applications under Workbook Options. Find this under Options on the Tools menu. Make sure the Update Remote References box is checked. If you check the Save External Link Values box you won't have to worry about maintaining links. However, if the link is to a large range it will greatly increase the size of your workbook file.
To create sub-totals in accounts, use the function =SUBTOTAL(9,B4:B9). The 9 is a function number and represents SUM. The range to sub-total in cell B10 is B4 to B9. You could repeat this for, say, B11 to B16 with another sub-total in B17. Then if you click on cell B 18 and the AutoSurn tool it will display the total of cells B10 and B17 only.
To convert pounds and ounces to kilograms, use the CONVERT function found in the Analysis ToolPak. Enable it by using Add-Ins on the Tools menu. If the pounds are entered in cell A2 and the ounces in B2 then the formula would be =(CONVERT(A2,"(bm","g")+CONVERT (B2,"ozm","g"))/1000
Here Ibm and ozm, entered in quotes, mean convert from pounds and ounces to g for grams.
Confused about the difference between deleting a cell and clearing a cell? If you click a cell and then press Delete or the Backspace key, the cell's stored value is removed but its formatting and comments remain. If you clear a cell, everything goes and it's as blank as a cell on a new worksheet. To do this press Alt & e then a a (the Alt key with 'e', then 'a' twice).
If you have a multi-page worksheet to print, and you want the column titles or list field names to print on every page, click the worksheet and choose - File, Page Setup, and then the Sheet tab. Click the red arrow in the 'Rows to repeat at top:' box, then click then on row number 1 (or hold Shift and click on 1 and 2). Then click OK.
I'm running Windows 98 SE with the Small Business package. When I click on an Excel file to start it, Excel comes up but gives an error message: 'Cannot find a file or one of its components'. However, if I open the same file from within Excel it has no trouble working with it.
I've tried the Microsoft Knowledge Base without success. I can't seem to define the problem in a way that the Knowledge Base recognises. I've also re-installed Small Business, recovered the Registry and so on, with no apparent effect.
It sounds as though something has gone wrong with the way the XLS file type is set up in your file associations. These are the settings for Excel 2000 on my Windows 98 SE box, and hopefully if you set yours up the same way it should solve your problem:
Double-click on My Computer and select the View - Folder Options menu item. When the dialog opens, click on the File Types tab and then scroll down the Registered file types list until you find the Microsoft Excel Worksheet entry.
Click on this to highlight it and click on the Edit button.
When the Edit File Type dialog opens, you should see the following entries:
Description of type: Microsoft Excel Worksheet
Content Type (MIME): application/vnd.ms-excel
Default extension for Content Type: .xls
Below that will be a box labelled Actions. There'll probably be four entries in there: New, Open, Print and Print to.
Open should be in bold, indicating its the default action. Select it and click Edit when the 'Editing action for type' dialog will open. In the 'Application used to perform action' dialog, you should see something like:
"E:\Program Files\MicrosoftOffice\Office\EXCEL.EXE" /e
Below that there'll be a checkbox labelled 'Use DDE'. Ensure it's enabled and that its entries read as follows:
DDE Message: [open("% 1 ")]
Application: Excel
Topic: system
The 'DDE Application Not Running' entry should be blank.
You should find that when you now click an Excel file outside of Excel it will launch Excel with your file loaded.
I have a large spreadsheet where a lot of the cells involved in calculations have no values in them. The problem is that this leads to each of those cells filling up with #DIV/0! - because they're empty. A colleague had his system set so that his doesn't display that error in the cell, but it was done a while ago for him by someone who's left the company, and nobody here knows how to do it now.
You'll be pleased to know that suppressing the error indication that appears on a divide-by-zero or blank-cell calculation error is simple. Just change the formula used to carry out division in Excel, and use this one instead:
= IF(denominator = O,"",numerator 1 denominator) or divide-by-zero blank-cell calculation error where denominator is the cell that's doing the dividing, and numerator is the cell that's being divided, of course. Alternatively, you could use this formula in the affected cells:
= IF(ISERROR(numerator 1 denominator),"",numerator 1 denominator)
Those will work for individual cells, but you can go further and apply Conditional Formatting over a wider area: this example shows you how to prevent the appearance of the #DIV/0! Indicator in all the cells in a specified column. Follow these steps:
1 Select your column - we'll use B for this example, because I'm bored with always using A -then head to the Format menu, click on it and select the Conditional Formatting menu item.
2 When the dialog opens, click on the down arrow for the combo box under Condition 1 and select the Formula Is value.
3 Now enter the following in the edit area that appears when you select Formula Is;
=ISERROR(B1)
and then click on the Format button.
4 Head to the Color drop-down, click on it and select the White square.
5 Finish by clicking on OK twice to clear the dialog boxes.
Can anybody help us to make an Excel document which will pick the six most common numbers from a series of past lottery draws?
The analysis is freely available on the Net - http//lotterymerseyworld.com/Analysis/- is one of many examples. This is a strong hint that if the top six numbers do all come up in one draw, so many other people will have chosen them that the prize will be split thousands of ways.
Furthermore, if it could be proved that there is no significant bias in the Lottery draw, you could be sure that this set of numbers is no more likely to come up than any other set, no matter what the past performance. If there is no bias, your choice of numbers does not increase the chance of winning, yet it reduces the payback if the gods do smile on you. We'll come back to this later.
Off to one side of the list where there is some free space, enter two column headings, 'Ball' and 'Frequency'. In the Ball column build the list 1 - 49. The easy way is to enter '1' into the first cell (press [Return] then move back on to it). Go to Edit/Fill/Series. 'Series in' should be set to 'Columns' and 'Type' should be 'Linear' The step value should be 1 and the stop value 49. Click OK. In the cell to the right of '1', enter =COUNTIF( Follow this with the address of the range containing the results. Each cell reference must be made absolute by prefixing each row and column index with a $ symbol This is so that when you copy this formula down the list, Excel doesn't adjust the range address. Now type a comma, followed by the address of the cell containing the '1' (no dollars required). Close with a ')' and press [Return]. Here is an example - your addresses will probably be different. =COUNTIF ($B$2:$G$400, I2)
Assuming cell I2 contains '1', this will count all the '1' balls in the range B2 to G400. Select this cell and double-click the small black box on its bottom right-hand corner -the mouse pointer turns into a cross -to copy the formula down the column as far as '49' You now have a list of counts, but not in order. Highlight the range of ball numbers and frequencies and use Data/Sort to sort them into descending order of frequency. This brings the most popular numbers to the top. As new lottery results are entered you will have to extend the range in the formula, re-copy it, then re-sort. You can avoid changing the formula too frequently by extending the range way beyond the latest results, so the analysis takes in blank rows that have yet to be filled. Put a reminder in the row after the last one in the range to tell you to update the formula. One way to make the process less troublesome is to give a name to the range being analysed (Insert/Name/Define). This name can then be used in place of the range address =COUNTIF(WinningNumbers,I2)
When the data set grows beyond the bottom of the named range, all you have to do is edit the name's specification in order to extend its scope. This removes the need to change the Countif() formula. You could automate the housekeeping tasks and the weekly re-sorting by way of macros and buttons, but that's another story. You now have the answer to your question, but let's go a bit further and see if we can get a clue as to whether the Lottery draw is exhibiting bias. After nearly 500 weeks the most popular numbers have come up almost twice as often as the least popular. Surely this is an indication that the top numbers are more likely than others to come up in the future? It's tempting to think so, but look a bit deeper and you'll find good reason to doubt this notion. If the draw is genuinely random, each number has an equal probability of being selected. Yet as the results accumulate, there is still bound to be some variation in the frequencies with which various numbers come up. The question is, do the results so far come close to what you'd predict for an unbiased draw? This isn't the place to explore statistical analysis, so let's take an experimental approach.
The distribution of frequencies can be analysed with Excel's Frequency() function. First, we iron out minor variations by grouping the frequencies into ranges. An interval of five seems to be suitable. What we're counting now is the number of balls that came up between 46 and 50 times, the number that came up between 51 and 55 times, and so on In another column enter a list of intervals. I suggest values of l00, 95, 85 and so on down to 40. Select the blank cell to the right of l00 and then highlight the column of blank cells beneath it down as far as 40 Click in the formula bar and enter. =FREQUENCY(range1,range2)
Change 'range1' to the range address containing the frequencies generated by Countif(). Change 'range2' to the range containing the interval values. This is an array formula, so don't press [Return] to enter it. Press [Ctrl][Shift][Return]. The formula should appear within curly brackets and the results be placed in the highlighted cells. By itself, this distribution doesn't tell you much. But, run the same analysis on random numbers generated by Excel and you will get a similar distribution. Do it as many times as you like, and most of the time the distributions broadly correspond - the top-ranked numbers come up about twice as often as the ones at the bottom, with a characteristic bunching of results around the average frequency. This is an indication that the Lottery is probably behaving as it should do and that the top-ranked numbers are put there by the vagaries of chance. That being the case, if you were to analyse the results of the next 500 draws, a different set of numbers would be favoured to the same extent as the current leaders.