127

Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 2: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutspreadsheetsYoucanuseaspreadsheettoenterandcalculatedata.Aspreadsheetconsistsofcolumnsandrowsofcells.Youcanenterdatadirectlyintothecellsofthespreadsheetandperformcalculationsthatarebasedonthedatabyusingformulas.WhenyoucreateaninteractivespreadsheetbyusingoneoftheMicrosoftOffice2003designprogramsandputthatspreadsheetonaWebpage,yougiveWebuserstheopportunitytointeractwiththedataandperformcalculationsdirectlyinthebrowser.Userscanmakechangestothedataandseetheresultsofcalculationsautomatically.

ThefollowingexampleisaspreadsheetonaWebpagedesignedtobeusedasamortgagecalculator.Whentheuserchangesthevaluesintheborderedinputcellsinthebrowser,thespreadsheetcalculatesthemortgagepayment.

Browserandlicenserequirements

Designprogramsyoucanusetocreateormodifyspreadsheets

Creatingthespreadsheetandcustomizingit

Testingandpublishing

AbouttheSpreadsheetWebPart

Page 3: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 4: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutXMLlistsWhenauserorthedesignerofaSpreadsheetcomponentqueriesandimportsdatafromadatasourceusingadataretrievalserviceoraDataRetrievalServiceConnectionsfile(.uxdc),thedataisdisplayedinatablestructurethatiscalledanXMLlist.AnXMLlistbehavesmuchlikeadatasheetinadatabaseprogram:eachrowinthelististreatedasasinglerecordwhenadding,deleting,filtering,andsortingitemsinthelist.AnXMLlistisassociatedwithaquerythatcanberefreshedtodisplaycurrentinformationfromthedatasource.Youcanalsoeditthisquerytoprovidedifferentqueryparametervalues,selectdifferentfields,filterdata,andsortdatasoyoucanefficientlyretrievejustthesubsetofdatayouwant.

AnXMLlisthasthefollowingvisualfeaturesthatdistinguishitfromotherrangesinaspreadsheet.

AframeclearlyoutlinesthedataintheXMLlist.Datainsidetheframeisreturnedfromthedatasource;dataoutsidetheframeisnotpartofthedatareturnedfromthedatasource.

TheXMLlistcandisplaycolumnheadingsthatarenotpartofthedataretrievedfromthedatasource,soyourheadingsnevergetsortedwiththedataorexcludedwhenthedataisfiltered.

TheXMLlistdisplaysanewrowatthebottomofthelistcalledtheinsertrowtomakeaddinganewrecordsimple:justclickintheinsertrowandtype.

IfthedesignerhasnotlockedtheentireXMLlistanddisabledotherfeaturesoftheXMLlist,workingwithdatainanXMLlistbehavesasdescribedinthefollowingsections.

Page 5: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Addingrecords

Pastingrecords

Deletingrecords

Sortingrecords

Filteringrecords

Insertinganddeletingcolumns

Calculatedcolumns

Workingwiththeassociatedquery

Page 6: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 7: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

BrowsersupportforspreadsheetsToworkwithinteractivespreadsheets,usersmusthaveMicrosoftInternetExplorer5.01withServicePack2(SP2)orlater,theMicrosoftOfficeWebComponentsinstalled,andanappropriateOffice2003license.UserswhodonothaveanOffice2003licensecaninstallthecomponentsandviewthemonaWebpage,butcannotinteractwiththem.Learnmoreaboutinstallationandlicensingofcomponents.

FollowingarethelevelsofbrowsersupportavailablewhenusershavetheOfficeWebComponentsinstalledandanOffice2003license.

MicrosoftInternetExplorer5.01withServicePack2orlater

Otherbrowsers

NoteTheSpreadsheetWebParthasthesamelicenserequirementsasthespreadsheetcomponent.FormoreinformationabouttheSpreadsheetWebPart,seethe"AbouttheSpreadsheetWebPart"sectioninAboutspreadsheets.

Page 8: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 9: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutusingaspreadsheetinthebrowserThistopicprovidesinformationabouthowusersintheMicrosoftInternetExplorerWebbrowsercaninteractwithaspreadsheetthatyoucreate.Understandingthebrowsercapabilitiesofspreadsheetsshouldhelpyoubetterdesignthemtoservetheneedsofyourusers.

Workinginabrowservs.adesignprogram

Whatuserscandointhebrowser

Restrictingwhatuserscandointhebrowser

NoteTheSpreadsheetWebParthasthesamebrowsercapabilitiesandlicenserequirementsasthespreadsheetcomponent.FormoreinformationabouttheSpreadsheetWebPart,see"AbouttheSpreadsheetWebPart"inAboutspreadsheets.

Page 10: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutMicrosoftOfficeWebComponentsMicrosoftOfficeWebComponentsisasetofActiveXcontrolsinstalledwithMicrosoftOffice2003.WithOfficeWebComponentsinstalledonyourcomputer,youcaninteractivelyuseaspreadsheet,aPivotTablelist,andachartonaWebpageinMicrosoftInternetExplorer5.01withServicePack2(SP2)orlater.

IfOfficeWebComponentsisnotinstalledonyourcomputerbutyouhaveanOffice2003sitelicensethatpermitsintranetdistribution,youcanconfigurethecomponentssothatuserswillbepromptedtodownloadOfficeWebComponentsfromyourcorporateintranet.ThisallowsusersatyoursitetouseadataaccesspagewithouthavingOffice2003softwareinstalledontheircomputers.

ForinformationabouthowtoconfigureOfficeWebComponents,seetheMicrosoftOfficeResourceKitWebSite.

Page 11: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 12: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Aboutinstalling,licensing,anddistributingOfficeWebComponentsWhenyoudesignaWebpageusingMicrosoftOfficeWebComponents,anyuserwithaMicrosoftOffice2003licensecaninteractwiththecomponentsinthebrowsertothelevelofinteractivityyouprovide.Thatis,auserwithanappropriatelicensecanmakechangestodatainaspreadsheet,changeformatting,dragfieldsinachartorPivotTableList,andsoon,aslongasyoudidn'tprotecttheseoptionsatdesigntime.UserswithanOffice2003licensecanalsocreate,design,andmodifycomponentsinadesignenvironmentsuchasMicrosoftFrontPageorMicrosoftAccess.

UserswhodonothaveOffice2003licensescanviewthecomponentsandthedatainthem,andcanprinttheviewofthecomponents,buttheycannotinteractwiththecomponentsormanipulatetheminadesignenvironment.ThismeansthatifyoudistributeaWebpagethatusescomponents,userswhohaveOffice2003licenseswillhaveaccesstoallfunctionalityprovided,butuserswithoutalicensecanonlyviewthedataandinformationyou'veprovided.

InstallingtheOfficeWebComponents

Detailsonlicensingandfunctionality

Page 13: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutView-onlymodeforOfficeWebComponentsIfyoudonothaveaMicrosoftOffice2003softwarelicenseinstalledonyourcomputeroraccessedviaaMicrosoftOffice2003application,youcanviewaMicrosoftOfficeWebComponent—aSpreadsheetComponent,ChartComponent,orPivotTableComponent—onaWebpage,butyoucan'tinteractwithit.

Tobeabletointeractwithandusefullfunctionalityofthecomponentyouareviewing,youmustinstallMicrosoftOffice2003orhaveaccesstoanOffice2003license.Ifyouareinacorporateorgroupenvironment,checkwithyournetworkadministratorforassistance.

WhenyouareinView-onlymode,youcan:

Viewdata.

Print.

Selectandscroll.

Usehyperlinks.

Resizeacomponent.

SelectsheetsintheSpreadsheetComponent.

ExpandorcollapsemembersinaPivotTablelist.

RefreshdatainaPivotTablelist.

UsetheAbout,Help,andRefreshcommands.Helptopicsthatdealwithinteractivity(suchasformattingcells,draggingfields,sorting,filtering,andsoon)donotapply.

AllcommandsexceptAbout,Help,andRefreshareunavailableinView-onlymode.

Page 14: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

CreateaMicrosoftOfficeSpreadsheetComponentThespecificstepsforcreatingaspreadsheetdependontheprogramyouareusingtodesignyourWebpage.Formoreinformation,seeHelpforthatprogram.IfyourdesignprogramHelpdoesnotprovideaprocedureforcreatingcomponentssuchasspreadsheets,followthesesteps:

1. Inyourdesignprogram,openorcreatetheWebpagewhereyouwantthespreadsheettoappear.

2. Usingthedesignprogram'sprocedureforaddingacomponentorActiveXcontroltoaWebpage,selectthespreadsheetcomponentanddesignatethelocationandinitialsizeofthecomponentontheWebpage.

3. Enterdataandformulasinthespreadsheet,orimportthedatatouseinthespreadsheet.

4. UsetheCommandsandOptionsdialogboxandtoolbartocustomizeyourspreadsheet.

5. Usingtheinstructionsinyourdesignprogram,publishthespreadsheet.

Page 15: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 16: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutaccessingadatasourceonadifferentdomainThespreadsheetattemptedtoaccessdataonanotherdomain,butfailedduetooneofthefollowingreasons:

Thesitebeingaccessedbythecontrolisnotincludedinthelistoftrustedsites.

InInternetExplorer,ontheSecuritySettingsdialogbox,underMiscellaneous,AccessdatasourcesacrossdomainsiseithersettoDisable,orsettoPromptandwhenprompted,youclickedCancel.

Toenableaccessacrossdomains,dothefollowing:

Enableprompting

Addthesitetothelistoftrustedsites

Page 17: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 18: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutgettinghelpforspreadsheetsSomeofthecontentinthistopicmaynotbeapplicabletosomelanguages.

Gettinghelpinotherdesignprograms

Gettinghelpwithwritingscriptsandprogramsthatusespreadsheets

Gettingandprovidinghelpinthebrowser

GettinghelpfortheSpreadsheetWebPart

Page 19: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 20: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

KeyboardshortcutsinspreadsheetsForinformationaboutthekeystoactivateanddeactivatetheMicrosoftOfficeSpreadsheetComponentonthepage,seeHelpinyourdesignprogram.

Keysformovingandscrollinginaspreadsheet

KeysformovingwithSCROLLLOCKon

Keysforworkingwithsheets

Keysforenteringdataonasheet

Keysforworkingincells

Keysforformattingdata

Keysforeditingdata

Keysforinserting,deleting,andcopyingaselection

Keysformovingwithinaselection

Keysforselectingcells,columns,orrows

KeysforworkingwithAutoFilterdrop-downlists

KeysforworkingwithHelp

Page 21: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 22: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Aboutspreadsheettools,commands,andoptionsToolbar

CommandsandOptionsdialogbox

RestrictingaccesstothetoolbarandCommandsandOptionsdialogbox

Page 23: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Showorhidethespreadsheettoolbar1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Right-clickacellinthespreadsheet,clickCommandsandOptionsontheshortcutmenu,andthenclicktheWorkbooktab.

3. UnderShow/Hide,selectorcleartheToolbarcheckbox.

Page 24: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShoworhidetheCommandsandOptionsdialogbox1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Dooneofthefollowing:

ToshowtheCommandsandOptionsdialogbox,clickCommandsandOptions onthetoolbar.

TohidetheCommandsandOptionsdialogbox,clickCloseintheupperrightcornerofthedialogbox.

Page 25: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Addorremovesheets1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. ClickCommandsandOptions onthetoolbar,andthenclicktheWorkbooktab.

3. UnderWorksheets,dooneofthefollowing:Toaddasheet,clickInsert.Repeattoaddmultiplesheets.

YoucanchangethenameofaninsertedsheetbyselectingthenameintheSheetnamelist,typinganewnameintheSheetnamebox,andpressingENTER.

Toremoveasheet,clickthenameofthesheetintheSheetnamelist,andthenclickDelete.

Thesheetanditsdataarepermanentlydeleted.

Page 26: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changethenameofasheet1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderWorksheets,intheSheetnamelist,clickthenameofthesheetyouwanttochange.

4. TypethenewnameintheSheetnamebox.

5. PressENTER.

Page 27: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changetheorderofsheets1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderWorksheets,intheSheetnamelist,clickthenameofasheetyouwanttomove.

4. ClickUp tomovethesheettowardthebeginningoftheworkbook,orDown tomovethesheettowardtheendoftheworkbook.

Page 28: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShoworhidecolumnheadersorrowheadersColumnheadersarethelettersingraycells(orincellsofanothercolor,dependingonyourMicrosoftWindowsdisplaysettings)acrossthetopofthespreadsheet,androwheadersarethenumbersingraycellsdownthesideofthespreadsheet.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.

3. UnderShow/Hide,selectorcleartheColumnheadersorRowheaderscheckboxes.

Page 29: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Showorhidegridlinesinaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.

3. UnderShow/Hide,selectorcleartheGridlinescheckbox.

Page 30: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShoworhidethesheetselectorThesheetselectorconsistsoftheSheetnametabandtheSheetlist,thesecondofwhichappearswhenyouclickthearrowonthetab.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderShow/Hide,selectorcleartheSheetselectorcheckbox.

Page 31: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

SavechangesTosaveyourchanges,usethecommandinthedesignprogramtosavetheWebpageorthefilecontainingthespreadsheet.ForinformationabouthowtosavetheWebpageorfile,seeHelpinyourdesignprogram.

Notes

IfyoupublishedthespreadsheetfromaMicrosoftExcelworksheetandthenopenedtheWebpageinanotherdesignprogram,savingtheWebpagedoesnotsavethechangesbacktotheoriginalExcelworksheet.

IfyouwanttosaveacopyofthespreadsheetasanExcelworksheetonyourcomputer,youcanexportthespreadsheettoExcelbyclickingExporttoMicrosoftExcel onthetoolbar.YoucanalsocopyspreadsheetdatatoExcelandotherprograms.

UserscannotsavetheWebpageinthebrowser,buttheycanexportorcopyitfromthebrowser.

Page 32: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

UndochangesToundothelastchangeyoumadeinthespreadsheet,clickUndo onthetoolbar.Youcanundomultiplechanges(upto16)byclickingUndomorethanonce.

ToundoallchangesyouhavemadetothespreadsheetsincethelasttimeyousavedtheWebpage,closetheWebpagewithoutsavingitinthedesignprogram.

Page 33: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

PrintaspreadsheetToprintaspreadsheetonaWebpage,youmustprinttheentireWebpage.

Toprintaspreadsheetfromadesignwindow,seeHelpinyourdesignprogramforspecificinstructionsaboutprintingaWebpage.

Toprintaspreadsheetfromthebrowser,clickPrintontheMicrosoftInternetExplorerFilemenu.

NoteIfthespreadsheetiswiderorlongerthantheprintedpage,theareasthatdon'tfitonthepagearenotprinted.Formorecontroloverhowthedataisprinted,includingtheabilitytoprintalonglistandsetpagebreaks,youcanexportthespreadsheettoMicrosoftExcelbyclickingExporttoMicrosoftExcel onthetoolbar.ForinformationaboutprintingfromExcel,seeExcelHelp.

Page 34: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Showorhidesheets1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderWorksheets,intheSheetnamelist,selectthenameofthesheetyouwanttoshoworhide.

4. ClickHideorUnhide.

NoteUnhideisavailableonlyforhiddensheets.Sheetnamesforhiddensheetsarefollowedby(hidden).

Page 35: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Showorhidescrollbars1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderShow/Hide,selectorcleartheHorizontalscrollbarandVerticalscrollbarcheckboxes.

Page 36: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Showonlypartofaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.

3. IntheViewablerangebox,typetherangetodisplay.

Forexample,todisplayrows1through15,type1:15.TodisplaycolumnsAthroughF,typeA:F.TodisplaycellsA1throughB20,typeA1:B20.

NoteThissettingcannotbechangedinthebrowser.

Page 37: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

TurnautomaticsizingonoroffforaspreadsheetWhenthespreadsheetissettothesizeoftheviewablerangeandyouturnautomaticsizingon,thespreadsheetexpandsandshrinksontheWebpagedependingoncontent.Itchangessizeasnecessarywhenyouinsertanddeleterowsandcolumns,orwhenyouchangerowheightsorcolumnwidths.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheAdvancedtab.

3. SelectorcleartheAutofitSpreadsheetcheckbox.

Ifyouwanttopreventthespreadsheetfromexpandingbeyondaspecifiedsize,typeavalue—eitherinpixelsorasapercentageoftheentireWebpage—intheMaxheightboxortheMaxwidthbox,orinbothboxes.Forexample,toallowthespreadsheettoexpanduptohalfthewidthoftheWebpage,type50%intheMaxwidthbox.Tolimitthewidthofthespreadsheetto300pixels,type300intheMaxwidthbox.

Page 38: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 39: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Aboutenteringtext,numbers,dates,andtimesinaspreadsheetSomeofthecontentinthistopicmaynotbeapplicabletosomelanguages.

Enteringtext

Enteringnumbers

Enteringdatesandtimes

Page 40: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Entertext,numbers,dates,andtimesinaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Clickthecellwhereyouwanttoenterdata.

3. Typethedata,andthenpressENTERortheTABkey.

Notes

Toseparatethepartsofadate,useaslashorahyphen;forexample,type9/5/2002or5-Sep-2002.

Toenteratimebasedonthe12-hourclock,typeaspaceandthentypeAMorPMafterthetime;forexample,type9:00PM.Otherwise,thespreadsheetentersthetimeasAM.

Precedeformulaswithanequal(=)sign.

Toenterahyperlink,typetheURLaddress,beginningwithaprotocolsuchashttp://orftp://,andthenpressENTER.

Toenterthesamedatainseveralcells,selectthecells,typethedata,andthenpressCTRL+ENTER.

Page 41: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Howaspreadsheethandlesdatesintheyear2000andbeyondBecausetherulesthatgovernthewayanycalculationprograminterpretsdatesarecomplex,youshouldbeasspecificaspossibleaboutdateswheneveryouenterthem.Thiswillproducethehighestlevelofaccuracyinyourdatecalculations.

HowaspreadsheetinterpretsambiguousdatesWheninterpretingambiguousdates,thespreadsheetmakescertainassumptions.Forexample,whenyouenteradatethatincludesonlythemonthandoneortwodigits,thespreadsheetassumesthat1through31isthedayandthattheyearisthecurrentyear.Forinstance,thespreadsheetassumesthatDecember01isDecember1ofthecurrentyear,notDecemberoftheyear2001.ThespreadsheetassumesthatDecember32isDecember1,1932.

Howaspreadsheetinterpretstwo-digityearsBydefault,whenyouenteratwo-digityearvalue,thespreadsheetinterpretstheyearasfollows:

00through29Thespreadsheetinterpretsthetwo-digityearvalues00through29astheyears2000through2029.Forexample,ifyoutypethedate5/28/19,thespreadsheetassumesthedateisMay28,2019.

30through99Thespreadsheetinterpretsthetwo-digityearvalues30through99astheyears1930through1999.Forexample,ifyoutypethedate5/28/98,thespreadsheetassumesthedateisMay28,1998.

Usefour-digityearsToensurethatthespreadsheetinterpretsyearvaluesthewayyouintended,typeyearvaluesasfourdigits(forexample,2001,ratherthan01).

Ifyourusers'systemsarecustomizeddifferentlyfromyourown,datesthatusersenterinthebrowsermightbeinterpreteddifferentlyfromdatesyouenterinthedesignprogram.Toensurethatdatesareinterpretedcorrectlyinthebrowser,enteralldateswithfourdigitsfortheyear.

ChangehowyearsareinterpretedYoursystemadministrator,orthesystemadministratorforyourusers,cancustomizeMicrosoftOfficesothatdifferentrulesdeterminehowdatesareinterpreted.Forexample,youradministratorcouldchangetheearliesttwo-digityearvaluethat's

Page 42: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

interpretedasadateinthetwentiethcenturyfrom30toanothernumber.Also,administratorscanchangethedefaultdateformattodisplayfour-digityearsinsteadoftwo-digityears.

Tofindoutifyoursystemusescustomizeddateinterpretation,seeyoursystemadministrator.Forinformationabouthowtocustomizedateinterpretation,seetheOffice2003ResourceKit.

Page 43: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changedatainacell1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Clickthecellyouwanttochange.

3. Dooneofthefollowing:

Toenteranewnumberortextinthecell,replacingthecurrentcontentsofthecell,typethenewvalue.

Tochangeaportionofthecontentsofthecell,double-clickthecellandmakeyourchanges.

4. Toacceptyourchangestothecell,pressENTER.

Notes

Acellcanhaveonlyonefontandtextformat.

Ifyouseeamessageindicatingthattherangeislocked,youmustturnoffprotectionbeforeyoucanmodifythecell.

Page 44: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 45: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutmovingandcopyingdataWhenyoucopyacell,youcopytheentirecell,includingformulasandtheirresultingvalues,andcellformats.Cellsthatyoucopyormovereplaceanydataintheareawhereyoupastethecells.

Copyingandmovingaffectsformulas

Filteringaffectscopyingandmoving

Copyingtootherprograms

CopyingintheSpreadsheetComponentdiffersfromMicrosoftExcel

Page 46: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 47: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

MoveandcopydataMoveorcopywholecells

Moveorcopycharacterswithinacell

Page 48: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 49: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Insertordeleterowsorcolumns1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Dooneofthefollowing:

Insertrowsorcolumns

Deleterowsorcolumns

Page 50: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 51: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Insert,change,ordeleteahyperlinkInsertahyperlink

Changeahyperlink

Deleteahyperlink

Page 52: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 53: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Clearcellcontents1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Selectthecellsthatyouwanttoclear.

3. PressDELETE.

Tip

Page 54: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Keepspecificrowsorcolumnsvisibleasyouscrollaspreadsheet

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Selecttherowbelowtherowsyouwanttokeepvisibleasyouscroll,orselectacolumntotherightofthecolumnsyouwanttokeepvisible.

Ifyouwanttokeepbothspecificrowsandspecificcolumnsvisibleasyouscroll,selectonecellbelowandtotherightoftherowsandcolumnsyouwanttokeepvisible.

3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.

4. ClickFreezePanes .

NoteThissettingcannotbechangedinthebrowser.

Page 55: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ChangewhichcellbecomesactivewhenyoupressENTER1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheAdvancedtab.

3. TomovetheactivecellselectionortopreventtheactivecellselectionfrommovingafteryoupressENTER,selectorcleartheMoveafterreturncheckbox.

IfyouwanttospecifythedirectioninwhichtheactivecellselectionshouldmoveafteryoupressENTER,clickthearrownexttotheMovedirectionboxandthenclickDown,Left,Right,orUp.

NoteThecellselectiondoesnotmovewhentheboundariesofthespreadsheetarereached.Forexample,whenthecellselectionissettomovedownandyoupressENTERinacellinthebottomrow,theselectiondoesnotmove.

Page 56: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 57: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutformulasWhatisaformula?

Calculation

Constantsvs.cellreferences

Functions

Page 58: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 59: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ExamplesofcommonlyusedformulasCreateasumbasedononecondition

Counttheoccurrencesofavalueoracondition

Calculatearunningbalance

Joinfirstandlastnames

Joinadatewithtext

Increaseanumberbyapercentage

Page 60: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 61: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Createaformula1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Clickthecellinwhichyouwanttoaddaformula.

3. Typeanequalsign(=).

4. Typetheformula.

5. PressENTER.

Tip

Page 62: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changeaformula1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Double-clickthecellthatcontainstheformulayouwanttochangesothattheformulaappearsinthecell.

Ifthecellcontainsahyperlink,clickacellnexttothecellyouwanttochange,andthenuseanarrowkeytoselectthecellwiththeformulayouwanttochange.ThenpressF2.

3. Makechangestotheformulainthecell.

4. PressENTER.

Page 63: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Viewaformulaanditsresultatthesametime1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Clickthecellthatcontainstheformulayouwanttoview.

3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormulatab.

4. ReviewtheformulaintheFormulainactivecell(reference)box.TheresultoftheformulaisdisplayedintheCellvaluebox.

Page 64: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

InsertatotalforarangeYoucaninsertasumforarangeofcellsautomaticallybyusingAutoSum.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Clickthefirstblankcellthatfollowsthedatayouwanttosum,eitherbelowthecolumnofdataortotherightofthedatainarow,orselectacolumnrangetosum.

3. Onthetoolbar,clickAutoSum .

Asuggestedformulaisdisplayedinthecellyouselectedorinthecellbelowthecolumnrangeyouselected.

4. Dooneofthefollowing:

Toacceptthesuggestedformula,pressENTER.

Tochangethesuggestedformula,selecttherangeyouwanttosumandpressENTER.

Page 65: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ChangewhenaspreadsheetcalculatesWhenaspreadsheetcontainsmanyformulas,itmighttakealongtimetocalculate.Tospeedupyourwork,youcanchangethecalculationmodefromautomatictomanualsothatyoucandecidewhentorecalculatethespreadsheet.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Onthespreadsheettoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.

3. UnderCalculation,dooneofthefollowing:

Torecalculatethespreadsheetwheneveravaluechanges,selectAutomatic.

TorecalculatethespreadsheetonlywhenyoupressF9orclickCalculate,selectManual.

Page 66: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 67: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutusingnamesinformulasOverview

Guidelines

Page 68: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Definenamesforcells,formulas,orconstants1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormulatab.

3. UnderNames,typethenameyouwanttouseintheNamebox.

Ifyouwanttodefineanamethatisavailabletoonlyonesheet(alocalname),precedethenameyouwanttousebythesheetnamefollowedbyanexclamationpoint.Forexample,ifyouwanttonameacellBudget,andmakeitavailableonlyonSheet2,typethefollowingintheNamebox:

Sheet2!Budget

4. IntheReferstobox,type=(equalsign),followedbytheformula,constantvalue,orreferencetothecellorrangeofcellsyouwanttoname.Forexample,tonamecellsA1throughA5onSheet1,typethefollowing:

=Sheet1!$A$1:$A$5

5. ClickDefine.

Page 69: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changeordeleteadefinedname1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormulatab.

3. UnderNames,intheAllnamesbox,clickthenameyouwanttochangeorremove.

4. Dooneofthefollowing:

Tochangethename,typeanewnameintheNameboxandclickDefine.Then,clicktheoriginalnameintheAllnamesboxandclickRemove.

Tochangethecell,formula,orconstantrepresentedbyaname,changeitintheReferstobox,andthenclickDefine.

Todeletethename,clickRemove.

Page 70: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 71: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutcellandrangereferencesOverview

Relativeandabsolutereferences

Page 72: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutcalculationCalculationistheprocessthataspreadsheetusestocomputeformulasinitscellsandthendisplaytheresultsasvalues.Bydefault,formulasareautomaticallycalculatedwhenachangeoccursinthecellsthattheformulasreferto.However,youcanchangehowaspreadsheetcalculates.

Storedvs.displayedvaluesValuesaresometimesdisplayedandstoreddifferently.Datesandtimes,forexample,arestoredasserialnumbersbutareusuallydisplayedandprintedinoneofseveraldateortimeformats.Thespreadsheetusesthestoredserialnumbersincalculations,whichmakesitpossibletocalculatethenumberofdaysbetweentwodates.

Theformatthatstoredvaluesaredisplayedinsometimesdependsonhowyouchoosetoformatthem.Forexample,youcanformatacellthatcontainsthenumber123456789todisplayas1.23E+08byusingtheScientificformat.Oryoucanformatacellthatcontainsadatewiththeserialnumber36699todisplayas"6/22/2000"oras"22-Jun-2000".Changingthedisplayofavaluedoesnotchangethestoredvalue.

TheregionalsettingsinMicrosoftWindowsControlPanelalsodeterminehownumber,currency,date,andtimeformatsaredisplayed.Forexample,thesesettingsdeterminewhetheryearsaredisplayedwithtwodigitsorfourdigits.SeeWindowsHelpforinformationabouttheseformats.

Page 73: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 74: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutcalculationoperatorsOperatorsspecifythetypeofcalculationthatyouwanttoperformontheelementsofaformula.TheSpreadsheetComponentincludesfourtypesofcalculationoperators:arithmetic,comparison,textconcatenation,andreference.Operatorscalculateinaspecificorder.

Typesofoperators

Orderinwhichoperatorscalculate

Page 75: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 76: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutarrayformulasandarrayconstantsAnarrayformulacanperformmultiplecalculationsandthenreturneitherasingleresultormultipleresults.Arrayformulasactontwoormoresetsofvaluesknownasarrayarguments.Eacharrayargumentmusthavethesamenumberofrowsandcolumns.Youcreatearrayformulasinthesamewaythatyoucreateotherformulas,exceptyoupressCTRL+SHIFT+ENTERtoentertheformula.Whenyou'reeditinganarrayformula,theformulaappearsinitalicformatting.

Arrayconstantscanbeusedinplaceofreferenceswhenyoudon'twanttoentereachconstantvalueinaseparatecellontheworksheet.

Someofthebuilt-infunctionsarearrayformulas,andmustbeenteredasarraystogetthecorrectresults.

Usingarrayformulas

Usingarrayconstants

Page 77: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 78: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

CreateanarrayformulaCalculateasingleresult

Calculatemultipleresults

Page 79: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 80: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

EditanarrayformulaIfanarrayformulaoccupiesmultiplecells,youmustedittheentirerangeasthoughitisasinglecell.Youcannotchangejustoneelementofanarrayformula.

1. Selectthecellthatcontainsthearrayformula,orifthearrayformulaoccupiesmultiplecells,selecttherangethatcontainsthearrayformula.

How?

2. PressF2.

3. Makechangestothearrayformula.

4. PressCTRL+SHIFT+ENTER.

Page 81: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Selectanarrayformularange1. Selectacellwithinthearray.

2. PressCTRL+/(forwardslash).

Page 82: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 83: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Moveorcopyanarrayformula1. Selecttheentirearrayrange.

How?

2. ClickCut orCopy onthetoolbar.

3. Selecttheentiredestinationrange;otherwise,thearraywillbepastedintoasinglecell.

4. ClickPaste .

Page 84: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutusingspreadsheetfunctionsFunctionsarepredefinedformulasthatperformcalculationsbyusingspecificvalues,calledarguments,inaparticularorder,orstructure.Forexample,theSUMfunctiontotalsvaluesorrangesofcells,andthePMTfunctioncalculatestheloanpaymentsbasedonaninterestrate,thelengthoftheloan,andtheprincipalamountoftheloan.

ArgumentsArgumentscanbenumbers,text,logicalvaluessuchasTRUEorFALSE,errorvaluessuchas#N/A,cellreferences,constants,formulas,orotherfunctions.Eachargumentyoudesignatemustproduceavalidvalueforthatargument.

StructureThestructureofafunctionbeginswiththefunctionname,followedbyanopeningparenthesis,theargumentsforthefunctionseparatedbycommas,andaclosingparenthesis.Ifthefunctionstartsaformula,typeanequalsign(=)beforethefunctionname.

Page 85: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

NestedfunctionsIncertaincases,youmightneedtouseafunctionasoneoftheargumentsofanotherfunction.Forexample,thefollowingformulausesanestedAVERAGEfunctionandcomparestheresultwiththevalue50.

ValidreturnsWhenanestedfunctionisusedasanargument,itmustreturnthesametypeofvaluethattheargumentuses.Forexample,iftheargumentreturnsaTRUEorFALSEvalue,thenestedfunctionmustreturnTRUEorFALSE.Ifitdoesn't,thespreadsheetdisplaysa#VALUE!errorvalue.

Page 86: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 87: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Formatcellsinaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Selectthecellsyouwanttoformat.

3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormattab.

4. Dooneormoreofthefollowing:

Changetextfontorsize

Changeanumberformat

Placebordersaroundcells

Changethebackgroundcolorofcells

Aligndatainacell

Page 88: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

NumberformatsSomeofthecontentinthistopicmaynotbeapplicabletosomelanguages.

YoucanchangetheformatsofnumbersinaspreadsheetbyusingtheCommandsandOptionsdialogbox,bothinthedesignprogramandatruntimeinthebrowser.ThesettingsinMicrosoftWindowsControlPanelalsodeterminehownumber,currency,date,andtimeformatsaredisplayed.Forexample,thesesettingsdeterminewhetheryearsaredisplayedastwodigitsorfourdigits.SeeWindowsHelpforinformationabouttheseformats.

InMicrosoftVisualBasicorascript,youcanassigncustomnumberformatstothedata.YoucanalsotypecustomformatsavailableinthespreadsheetobjectmodelintheNumberformatbox.Tofindoutmore,seehowtogethelpforprogrammingaspreadsheet.

ThefollowingnumberformatsareavailableintheNumberformatlistontheFormattaboftheCommandsandOptionsdialogbox.

Format EffectsGeneraldate

Displaysanumberasadateandoptionaltime.Forexample,8/31/9905:54AM.

Thefractionalpartofthenumberisthetime.Ifanumberhasnofractionalpart,onlyadateappears.Ifanumberhasonlyafractionalpartandnointegerpart,onlyatimeappears.

Longdate DisplaysadateaccordingtotheWindowsregionalsettingforthelongdateformat.Forexample,Thursday,January25,2001.

Mediumdate

DisplaysadateaccordingtotheWindowsregionalsettingforthemonthanddateseparator,anddisplaystwodigitsfortheyear.Forexample,Jan/25/01.

Shortdate

DisplaysadateaccordingtotheWindowsregionalsettingfortheshortdateformat.Forexample,1/25/01.

Longtime DisplaysatimeaccordingtotheWindowsregionalsettingforthelongtimeformat.Forexample,8:45:36PM.

Medium Displaysatimein12-hourformatwithanAMorPM

Page 89: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

time designator,omittingtheseconds.Forexample,8:45PM.Shorttime

Displaysatimein24-hourformat,omittingtheseconds.Forexample,20:45.

General Displaysanumberright-aligned,withnothousandsseparator,andprecededbyaminussignifnegative.Displaysupto11digits,or10digitswithadecimalpoint,roundingadditionaldigitstotherightofthedecimalpoint.Displaysnumberswithmorethan11digitstotheleftofthedecimalpointinscientificformat.Displaystextleft-aligned.

Currency DisplaysanumberaccordingtotheWindowsregionalsettingforcurrency,withathousandsseparatorifappropriateandtwodecimalplaces.Forexample,withthedefaultEnglish(UnitedStates)regionalsettings,$2,532.75.

Eurocurrency

Displaysanumberaseurocurrency,withathousandsseparatorandtwodecimalplaces.TheeurosignisplacedbeforeorafterthenumberaccordingtotheWindowsregionalsettingforcurrency.Forexample,withthedefaultEnglish(UnitedStates)regionalsetting, 12.35.

Fixed Displaysanumberwithtwodecimalplaces.Forexample,68.30.

Standard Displaysanumberwithathousandsseparatorandtwodigitstotherightofthedecimalpoint.TheWindowsregionalsettingfornumbersdetermineswhat'susedforthethousandsseparator.Forexample,withacommaasthethousandsseparator,1,800.00.

Percent Displaysanumbermultipliedby100,withtwodecimalplacesandapercentsign.Forexample,thevalue0.8914wouldbedisplayedas89.14%.

Scientific Displaysanumberinexponentialnotation.Forexample,1.25E+10.

Yes/no DisplaysNoifthenumberis0;displaysYesforanyothernumber.

True/false DisplaysFalseifthenumberis0;displaysTrueforanyothernumber.

On/off DisplaysOffifthenumberis0;displaysOnforanyothernumber.

Page 90: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Mergeorunmergecells1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Selectthecellsthatyouwanttomerge.Keepinmindthatwhenyoumergecells,onlydataintheupper-leftcelloftheselectedrangeisretained.Datainallothercellsthatyoumergeisdeleted.

3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormattab.

4. UnderCellformat,clickMergeCells orUnmergeCells .

Page 91: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 92: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changethewidthofacolumn1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Makesurecolumnheadersaredisplayed.

How?

3. Selectthecolumnsyouwanttochange.

4. Pointtotherightboundaryofthecolumnheaderofthecolumnorselectionuntilthepointerchangesto .

5. Dragtheboundarytothewidthyouwant,or,tomakethecolumnwidthfitthecontents,double-clicktherightcolumnboundary.

Page 93: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 94: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Changetheheightofarow1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Makesurerownumbersaredisplayed.

How?

3. Selecttherowsyouwanttochange.

4. Pointtothebottomboundaryoftherowheaderoftheroworselectionuntilthepointerchangesto .

5. Dragtheboundaryuntiltheroworselectionistheheightyouwant,or,tomaketherowheightfitthecontents,double-clickthebottomrowboundary.

Page 95: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 96: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

DisplaytextoraspreadsheetsothatitreadsrighttoleftorlefttorightUseright-to-lefttextdirectionordisplaywhenyourspreadsheetwillbeviewedinlanguagesthatreadfromrighttoleft.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Dooneofthefollowing:

Displayanentirespreadsheetrighttoleftorlefttoright

Displaytextrighttoleftorlefttoright

Page 97: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 98: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

CreateachartbasedonaspreadsheetIfyoupublishaspreadsheetfromMicrosoftExcel,youcantakeadvantageofextensiveExcelchartingcapabilitiestocreateachartbasedonspreadsheetdataandpublishthechartwiththespreadsheet.Thisisoneoftheeasiestwaystocreateachartbasedonaspreadsheet.

Inotherdesignprograms,youcancreateaspreadsheetandachartbyusingtwoMicrosoftOfficeWebComponents:theSpreadsheetComponentandtheChartComponent.

Followthesestepstocreateachartforyourspreadsheet.

1. Followingthedirectionsinyourdesignprogram,usetheSpreadsheetComponenttocreatethespreadsheetonaWebpage,andthenaddthedatayouwanttouseinyourchart.

2. Followingthedirectionsinyourdesignprogram,usetheChartComponenttocreateachartonthesameWebpagewherethespreadsheetexists.

3. IftheCommandsandOptionsdialogboxdoesnotappear,clickthechart.

4. OntheDataSourcetab,underSelectwherethechartdatacomesfrom,clickDatafromthefollowingWebpageitem.

5. Clickthespreadsheetiteminthelist.

6. UnderSetdetailsforthedatatype,clickRanges.

7. Dooneofthefollowing:

Specifyallthedataatonetime

Specifyoneseriesofdataatatime

8. ClicktheTypetab,andthenselectthetypeofchartyouwant.

NoteForhelpwithChartcommandsandoptionssuchasformattingandmodifyingthechart,clickHelp ontheGeneraltabofthechartCommandsandOptionsdialogbox.

Page 99: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutfindingdataTheFindwhatfeature(CommandsandOptionsdialogbox,Sheettab)canlocatetext,numbers,dates,andtimesthathavebeenentereddirectlyintocellsorthataretheresultsofformulas.

KeepthefollowingguidelinesinmindwhenusingFindwhatoptions:

MatchcaseBydefault,Findwhatisnotcasesensitive.Tofindonlythosecellswithvaluesthatmatchthecaseofyourentry,selecttheMatchcasecheckbox.

EntirecellonlyBydefault,FindwhatsearchesforcellsthatincludethevalueyouenterintheFindwhatbox.Forexample,anentryof"John"findscellswithstringssuchas"Johnson"or"LittleJohn."Tofindcellsthatcontainonlythevalueyouenteredandnothingelse,selecttheEntirecellonlycheckbox.

FormattedvaluesTheFindwhatfeaturesearchesfordisplayedvalues,notformats.Forexample,supposeacellisformattedwiththeYes/Nonumberformat.Ifthecellcontainsazero(0),thecelldisplaysthewordNo,andyoucanuseFindwhattolocatethephrase"No".Youcan'tuseFindwhattofindallcellsformattedwithaparticularcolororfont.

SearchdirectionTheFindwhatfeaturesearchesfromlefttorightacrossthecolumnsofthefirstrow,andthenfromlefttorightacrossthecolumnsofthesecondrow,andsoon.

WildcardcharactersTheFindwhatfeaturedoesnotallowwildcardcharacterssuchasquestionmark(?)andasterisk(*).

HiddendataTheFindwhatfeaturedoesnotfinddatainhiddencellsorcellshiddenbyfiltering.

Page 100: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Finddata1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Tosearchtheentirespreadsheet,clickasinglecell,or,tosearchwithinaspecificrangeofcells,selecttherange.

3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.

4. IntheFindwhatbox,typethetextorvalueyouwanttofind.

Notes

Bydefault,FindwhatsearchesforcellsthatincludethevalueyouenterintheFindwhatbox.Forexample,anentryof"John"findscellswithstringssuchas"Johnson"or"LittleJohn."Ifyouwanttofindcellsthatcontainonlythevalueyouenteredandnothingelse,selecttheEntirecellonlycheckbox.

Bydefault,Findwhatisnotcasesensitive.Ifyouwanttofindonlythosecellswithvaluesthatmatchthecaseofyourentry,selecttheMatchcasecheckbox.

5. ClickFindNext.

Page 101: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 102: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

SortdataDatathatyouwanttosortshouldbesetupasalist.Alisthassimilaritemsineachcolumn,haslabelsforthecolumnsacrossthetoprow,anddoesnotincludeanyblankrowsorcolumns.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Dooneofthefollowing:

Sortbyasinglecolumn

Sortbymorethanonecolumn

Page 103: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 104: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ApplyorremoveafilterApplyafilter

Removeafilter

Page 105: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 106: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Sumfiltereddata1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Filterthedatatodisplaytherowsyouwanttosum.

How?

3. Clickthecellbelowthedatayouwanttosum.

4. ClickAutoSum onthetoolbar,andthenpressENTER.

NoteTheAutoSumbuttonsumsonlythedatainvisiblerows.Toincludeallrowsinthesum,showallrowsandthensumtherows.

Page 107: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutspreadsheetspublishedfromExcelWhenyoupublishaspreadsheetfromMicrosoftExcel,youcanopentheWebpageandmakedesignchangesinMicrosoftFrontPageordataaccesspageDesignviewinMicrosoftAccess.YoucanalsoopentheExcelworksheet(.xlsfile)ifyousavedit,makechanges,andrepublishthespreadsheettothesameWebpage.Ifyoudidn'tsavetheExcelworksheet,youcanexportthespreadsheettoExcel,makechanges,andeithersaveacopyoftheworksheetorpublishthechangedspreadsheet.

WhenyoupublishaspreadsheetfromExcel,mostoftheExcelfeaturesareretainedandworkthesamewayasinExcel.FeaturesinthefollowinglistwillworkdifferentlyorwillnotberetainedwhenpublishedorsavedasaspreadsheetonaWebpage.

Excelformulas,functions,andcalculationfeatures

WhathappenswhenpublishedorsavedasaWebpage

Labelsinformulas

Labelsareconvertedtocellreferences.

Referencestodataonotherworksheets

Aslongasyoupublishtheentireworkbook,referencestootherworksheetspublishcorrectly.Ifyoupublishonlythereferencingworksheet,referencestootherworksheetsareconvertedtovalues.

Subtotals Numbersandcalculationsappearcorrectly.Groupandoutlinefeaturesarenotretained.

1904datesystem

Thedisplayeddatesremainthesame,buttheserialnumbersforthedatesareconvertedtothe1900datesystem.

Precisionasdisplayed

Cellvalueispublished.

R1C1referencestyle

R1C1referencestyleisconvertedtoA1referencestyle.

Excelformatting,

Page 108: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

graphics,anddisplayfeatures

WhathappenswhenpublishedorsavedasaWebpage

Rotatedorverticaltext

Rotatedorverticaltextisconvertedtohorizontaltext.

Distributedalignment

Notretained.

Thaialignment Notretained.Indentedtext Notretained.Wrappedtextincells

Notretained.

Graphics Notretained.Patternfills Notretained.Dashdotborders

Dashdotbordersareconvertedtosolidborders.

Multiplefontsinasinglecell

Notretained.Thefontofthefirstcharacterinthecellisused.

Conditionalformatting

Notretained.

Cellcomments Notretained.Datavalidationrestrictionsandmessages

AllvalidationtypesexceptCustomandListareretained.Additionally,cellreferencesinvalidationrules,custominputmessages,andcustomerrormessagesarenotsupported.

Auditingtracerarrows

Notretained.

Outlining Collapsedrowsarepublishedashidden.Expandedrowsarepublishednormally.

Printingorpagesetupfeatures

Notretained.

Excelfile,sharing,andimportfeatures

WhathappenswhenpublishedorsavedasaWebpage

Sharedworkbook Notretained.

Page 109: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

informationLotuscompatibility R1C1referencestyleisconvertedtoA1

referencestyle.Externaldataranges Valuesarepublished.Theabilitytorefresh

fromthesourcedataisnotretained.Webqueries Valuesarepublished.Theabilitytorefresh

fromthesourcedataisnotretained.Passwords Topublishaprotectedworksheet,youmust

useablank(orno)password.

ExcellistandXMLListfeatures

WhathappenswhenpublishedorsavedasaWebpage

Lists Notretained.XMLlists TheXMLlistisretained,butifthelisthasatotals

row,thetotalsrowisnotretained.

Page 110: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ExportaspreadsheettoanExcelworkbook1. Inthedesignwindow,makesurethespreadsheetisactivated.

Forinstructions,seeHelpforyourdesignprogram.

2. Onthespreadsheettoolbar,clickExporttoMicrosoftExceltorunorswitchtoMicrosoftExcelanddisplaythedatainaworkbook.

Notes

BecauseExcelsupports256columnsand65,536rows,dataincolumnsIWthroughZZZandrows65,537through262,144arenotexportedfromthespreadsheet.Youcan,however,copythisdatatomorethanoneExcelworksheet.

WhenyouexportdatafromaspreadsheettoExcel,onlythevaluesandformulasareexported.LinksthatconnecttootherdataontheWebpageortootherWebpagesarenotretainedinExcel.

Whenyouexportsomespreadsheetnumberformats,thedatainExcelisdisplayedwithacustomnumberformat.Forexample,theYes/no,True/false,andOn/offspreadsheetformatsaredisplayedwithcustomnumberformatsinExcel.ForinformationaboutcustomnumberformatsinExcel,seeExcelHelp.

Page 111: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 112: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

GetdatafromothersourcesCopyandpastedatafromanotherprogram

ImportdatafromaWebpage,textfile,orXMLfile

Connecttoadatasource

Page 113: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 114: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

RestrictuseofaspreadsheetinthebrowserYoucanpreventusersfrommakingchangestosheetsbyusingprotectionoptionsthatareavailableonlyduringdesigntime.Theseoptionstakeeffectduringruntime,andgenerallydonotapplywhileyou'redesigningthespreadsheet.

Protectentiresheet

Protectonlyspecificcells

Displayonlypartofaspreadsheet

Preventsheetsfrombeinginserted,removed,orrenamed

PreventdisplayoftheCommandsandOptionsdialogbox

Preventorallowmonitoringofeventsbyprogramsandscripts

Notes

Youcannotsetpasswordsonspreadsheets.

Ifyoudon'twantuserstomakechangestoyourspreadsheet,considerpublishinganoninteractiveHTMLversionofthespreadsheet.SeeMicrosoftExcelHelpformoreinformation.

Page 115: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

RemoveprotectionfromaspreadsheetThisprocedurecanbeperformedatdesigntimeonly.Browserusersdonothaveaccesstothisoption.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheProtectiontab.

3. UnderSheet,cleartheProtectactivesheetcheckbox.

4. Ifyouwantuserstobeabletoinsert,remove,orrenamesheets,orusetheCommandsandOptionsdialogbox,checktobesurethattheInsert,remove,orrenamesheetscheckboxandtheCommandsandOptionsdialogboxcheckboxunderWorkbookareselected.

Page 116: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

AboutmakingconnectionstoexternaldatasourcesmoresecureWhenyoudefineaconnectiontoanexternaldatasourceforaspreadsheetcomponentonaWebpage,theauthoringenvironmentstoresthisinformationasanunencrypted(plaintext)connectionstringintheHTMLsource.Asaresult,auseropeningthepageinabrowsercaneasilyviewtheHTMLsourceforthepageandreadtheconnectionstring,whichmayincludeausernameandpassword.

Topreventunauthorizedaccessusinginformationfromtheconnectionstring,ifthedatasourcesupportsthismodeofauthentication,useWindowsAuthentication(alsoreferredtoasaTrustedConnectionandIntegratedSecurity),whichusesthecurrentuser'sMicrosoftWindowsaccounttoconnecttoanexternaldatasource.UsingWindowsAuthenticationtoconnecttoanexternaldatasourcehasthefollowingadvantages:

Thepagedesignerdoesn'thavetoenterausernameorpasswordtoconnecttothedatasource,sothatinformationcannotbeexposedintheHTMLsourceofthepage.

Theuserofthepagedoesn'thavetoenterausernameorpasswordtoconnecttothedatasourcewhenopeningthepage,sothatinformationcannotbecompromisedwhileit'sbeingsenttotheserver.

OnlyaWindowsuseraccountthatisconfiguredinthesecuritysystemforthedatasourcewillbeallowedtoconnecttothatdatasource.

ImportantTouseWindowsAuthentication,theusersyouwanttoconnecttoanexternaldatasourcemusthaveuseraccountsonaWindowsdomain.UsersthataremembersofaWindowsWorkgroupcannotuseWindowsAuthentication.

Asanexample,toconnecttoMicrosoftSQLServerusingWindowsAuthentication,usethefollowingprocedurewhendefiningaconnection.

ImportantBeforeyoucanuseWindowsAuthenticationtoconnecttoaMicrosoftSQLServerdatabase,aserveradministratormustconfiguretheservertousethismodeofauthentication,andmustgrantyourWindowsuseraccount(oragroupofwhichyouruseraccountisa

Page 117: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

member)loginaccess.Additionally,theserveradministratorshouldprovideyouraccountwiththeminimumlevelofpermissionstothetablesorstoredproceduresrequiredforyourspreadsheet.

1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.

2. ClickCommandsandOptionsonthetoolbar,andthenclicktheDataSourcetab.

3. ClickEdit,andthendouble-clickNewSQLServerConnection.

4. InServername,specifythenameoftheserver.

5. UnderLogoncredentials,clickUseWindowsAuthentication.

6. ClickNext,andthenfollowthedirectionsinremainingscreensoftheDataConnectionWizardtospecifythedatatoretrieve.

NoteOtherdatasourcesthatsupportWindowsAuthenticationmaypresentdifferentoptionsintheDataConnectionWizard.Forexample,toconnecttoanOracledatabasebyusingWindowsAuthentication,youmustenteronlyaforwardslash(/)intheUserNamebox.Formoreinformation,seethedocumentationforthedatasourceprovideryouareusing.

IfWindowsAuthenticationisnotavailableforthedatasourceyouwanttoconnectto,youmustenterausernameandpasswordtoconnecttothedatasource.BecausethisusernameandpasswordmightbeviewedwhenthespreadsheetisonaWebpage,donotusethismodeofauthenticationtoconnecttosensitivedatafromaspreadsheetonaWebpage.Evenifyouarenotconcernedaboutunauthorizedusersviewingyourdata,youshouldconnectonlywithauseraccountthathaslimitedpermissionsonthedatasource.Forexample,whenconnectingtoaSQLServerdatabaseusingausernameandpassword,donotusetheSAaccountoranyotheraccountthathaselevatedpermissions,becauseanunauthorizedusermightbeabletousethisaccountandpasswordtoaccessotherdataontheserver.

NoteIfyouusetheDataRetrievalServiceforMicrosoftSQLServer(oruseaDataRetrievalServiceConnections(.uxdc)filethatis

Page 118: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

definedtousethatdataretrievalservice)toconnecttoanexternaldatasource,andyoudonotuseWindowsAuthentication,theusernameandpasswordusedtoconnecttothedatasourcearenotsavedintheWebpage.Whenyouusethismethodtoconnecttoanexternaldatasource,usersoftheWebPagethathostsyourspreadsheetwillbepromptedtoentertheirlogoninformation.

Page 119: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 120: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Troubleshootspreadsheets

FindingHelpinformationIcan'tfindthehelpinformationIwant

Page 121: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

EnteringandeditingdataandformulasIcan'tchangecellsinthespreadsheet.

Ican'twraptextwithincellsinaspreadsheet.

Thereisnoformulabarinmyspreadsheet.

Ican'tsetapasswordforaspreadsheet.

Ican'tchangeahyperlinkthatIpublishedfromMicrosoftExcel.

Ican'tcontrolthesizeofmyspreadsheet.

Ican'tcontrolwhetherscrollbarsaredisplayedorhiddeninmyspreadsheet.

Page 122: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

Filtering,sorting,andfindingdataDatadoesnotsortcorrectlyinaspreadsheet.

Myspreadsheetlistdoesnotshowallofmydata.

Ihavemergedcells,andIcan'tfiltermyspreadsheet.

TheFindNextcommandisnotfindingdatainmyspreadsheet.

IpublishedaspreadsheetfromExcel,andtheAutoFilterdrop-downlistiswrong.

Page 123: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ImportingandexportingIcan'tpublishapassword-protectedspreadsheetfromExcel.

MyspreadsheetfilterisnotexportingtoExcelcorrectly.

IgetamessagethattherearetoomanyrowsorcolumnswhenItrytoexportmyspreadsheettoExcel.

Page 124: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

WorkingwiththespreadsheetinthebrowserUserscannotinteractwithmyspreadsheetinthebrowser.

WhenIopenaWebpagethatcontainsaspreadsheetinthebrowser,Ireceivetheerror"CannotopenURL."

ClickingtheEditbuttoninmyWebbrowseropensmyWebpageinthewrongprogram.

Page 125: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ErrorvaluesIseeerrorvaluesinsteadofresultsforformulas.

Accessingadatasourceonanotherdomain

Thespreadsheetattemptedtoaccessdataonanotherdomain,butfailed.

Page 126: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

ShowAll

Page 127: Microsoft Office 2003 Spreadsheet Component Help€¦ · About using a spreadsheet in the browser This topic provides information about how users in the Microsoft Internet Explorer

TroubleshooterrorvaluesinaspreadsheetIfaformulacannotproperlyevaluatearesult,thespreadsheetdisplaysanerrorvalue.Forexample,errorvaluescanresultwhenaformulaexpectsanumericvaluebutfindstext,whenacellthatisreferencedbyaformulahasbeendeleted,orwhenthecellisnotwideenoughtodisplaytheresult.

Errorvaluesmightnotbecausedbytheformulaitself.Forexample,ifaformulashows#N/Aor#VALUE!,acellreferencedbytheformulamightcontaintheerror.

Followingarepossiblecausesandsolutionsforeacherrorvalue.

#####

#CIRC!

#DIV/0!

#N/A

#NAME?

#NULL!

#NUM!

#REF!

#VALUE!