18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Part IV<br />

Using Advanced Excel Features<br />

Understanding File Reservations<br />

Networks provide users with the ability to share information stored on other computer systems. Sharing<br />

files on a network has two major advantages:<br />

n<br />

n<br />

It eliminates the need to have multiple copies of the files stored locally on user PCs.<br />

It ensures that the file is always up-to-date. For example, a group of users can work on a single<br />

document, as opposed to everyone working on his or her own document and then merging them<br />

all together.<br />

Some networks — generally known as client-server networks — designate specific computers<br />

as file servers. On these types of networks, the shared data files are normally stored on the file<br />

server. Excel doesn’t care whether you’re working on a client-server or a peer-to-peer network (where all the<br />

PCs have essentially equal functions).<br />

NOTE<br />

Some software applications are multiuser applications. Most database software applications, for example,<br />

enable multiple users to work simultaneously on the same database files. One user may be updating customer<br />

records in the database, while another is extracting information for a report. But what if two users<br />

attempt to change a particular customer record at the same time? Multiuser database software contains<br />

record-locking safeguards that ensure that only one user at a time can modify a particular record.<br />

Excel is not a multiuser application. When you open an Excel file, the entire file is loaded into memory. If<br />

the file is accessible to other users, you wouldn’t want someone else to change the stored copy of a file that<br />

you’ve opened. If Excel allowed you to open and change a file that someone else on a network had already<br />

opened, the following scenario could happen.<br />

Assume that your company keeps its sales information in an Excel file that is stored on a network server.<br />

Esther wants to add this week’s data to the file, so she loads it from the server and begins adding new information.<br />

A few minutes later, Jim loads the file to correct some errors that he noticed last week. Esther<br />

finishes her work and saves the file. A while later, Jim finishes his corrections and saves the file. Jim’s file<br />

overwrites the copy that Esther saved, and her additions are gone.<br />

This scenario can’t happen because Excel uses a concept known as file reservation. When Esther opens the<br />

sales workbook, she has the reservation for the file. When Jim tries to open the file, Excel informs him that<br />

Esther is using the file. If he insists on opening it, Excel opens the file as read-only. In other words, Jim can<br />

open the file, but he can’t save it under the same name. Figure 30.1 shows the message that Jim receives if<br />

he tries to open a file that is in use by someone else.<br />

FIGURE 30.1<br />

The File In Use dialog box appears if you try to open a file that someone else is using.<br />

532

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!