Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
ShowAll
AboutspreadsheetsYoucanuseaspreadsheettoenterandcalculatedata.Aspreadsheetconsistsofcolumnsandrowsofcells.Youcanenterdatadirectlyintothecellsofthespreadsheetandperformcalculationsthatarebasedonthedatabyusingformulas.WhenyoucreateaninteractivespreadsheetbyusingoneoftheMicrosoftOffice2003designprogramsandputthatspreadsheetonaWebpage,yougiveWebuserstheopportunitytointeractwiththedataandperformcalculationsdirectlyinthebrowser.Userscanmakechangestothedataandseetheresultsofcalculationsautomatically.
ThefollowingexampleisaspreadsheetonaWebpagedesignedtobeusedasamortgagecalculator.Whentheuserchangesthevaluesintheborderedinputcellsinthebrowser,thespreadsheetcalculatesthemortgagepayment.
Browserandlicenserequirements
Designprogramsyoucanusetocreateormodifyspreadsheets
Creatingthespreadsheetandcustomizingit
Testingandpublishing
AbouttheSpreadsheetWebPart
ShowAll
AboutXMLlistsWhenauserorthedesignerofaSpreadsheetcomponentqueriesandimportsdatafromadatasourceusingadataretrievalserviceoraDataRetrievalServiceConnectionsfile(.uxdc),thedataisdisplayedinatablestructurethatiscalledanXMLlist.AnXMLlistbehavesmuchlikeadatasheetinadatabaseprogram:eachrowinthelististreatedasasinglerecordwhenadding,deleting,filtering,andsortingitemsinthelist.AnXMLlistisassociatedwithaquerythatcanberefreshedtodisplaycurrentinformationfromthedatasource.Youcanalsoeditthisquerytoprovidedifferentqueryparametervalues,selectdifferentfields,filterdata,andsortdatasoyoucanefficientlyretrievejustthesubsetofdatayouwant.
AnXMLlisthasthefollowingvisualfeaturesthatdistinguishitfromotherrangesinaspreadsheet.
AframeclearlyoutlinesthedataintheXMLlist.Datainsidetheframeisreturnedfromthedatasource;dataoutsidetheframeisnotpartofthedatareturnedfromthedatasource.
TheXMLlistcandisplaycolumnheadingsthatarenotpartofthedataretrievedfromthedatasource,soyourheadingsnevergetsortedwiththedataorexcludedwhenthedataisfiltered.
TheXMLlistdisplaysanewrowatthebottomofthelistcalledtheinsertrowtomakeaddinganewrecordsimple:justclickintheinsertrowandtype.
IfthedesignerhasnotlockedtheentireXMLlistanddisabledotherfeaturesoftheXMLlist,workingwithdatainanXMLlistbehavesasdescribedinthefollowingsections.
Addingrecords
Pastingrecords
Deletingrecords
Sortingrecords
Filteringrecords
Insertinganddeletingcolumns
Calculatedcolumns
Workingwiththeassociatedquery
ShowAll
BrowsersupportforspreadsheetsToworkwithinteractivespreadsheets,usersmusthaveMicrosoftInternetExplorer5.01withServicePack2(SP2)orlater,theMicrosoftOfficeWebComponentsinstalled,andanappropriateOffice2003license.UserswhodonothaveanOffice2003licensecaninstallthecomponentsandviewthemonaWebpage,butcannotinteractwiththem.Learnmoreaboutinstallationandlicensingofcomponents.
FollowingarethelevelsofbrowsersupportavailablewhenusershavetheOfficeWebComponentsinstalledandanOffice2003license.
MicrosoftInternetExplorer5.01withServicePack2orlater
Otherbrowsers
NoteTheSpreadsheetWebParthasthesamelicenserequirementsasthespreadsheetcomponent.FormoreinformationabouttheSpreadsheetWebPart,seethe"AbouttheSpreadsheetWebPart"sectioninAboutspreadsheets.
ShowAll
AboutusingaspreadsheetinthebrowserThistopicprovidesinformationabouthowusersintheMicrosoftInternetExplorerWebbrowsercaninteractwithaspreadsheetthatyoucreate.Understandingthebrowsercapabilitiesofspreadsheetsshouldhelpyoubetterdesignthemtoservetheneedsofyourusers.
Workinginabrowservs.adesignprogram
Whatuserscandointhebrowser
Restrictingwhatuserscandointhebrowser
NoteTheSpreadsheetWebParthasthesamebrowsercapabilitiesandlicenserequirementsasthespreadsheetcomponent.FormoreinformationabouttheSpreadsheetWebPart,see"AbouttheSpreadsheetWebPart"inAboutspreadsheets.
AboutMicrosoftOfficeWebComponentsMicrosoftOfficeWebComponentsisasetofActiveXcontrolsinstalledwithMicrosoftOffice2003.WithOfficeWebComponentsinstalledonyourcomputer,youcaninteractivelyuseaspreadsheet,aPivotTablelist,andachartonaWebpageinMicrosoftInternetExplorer5.01withServicePack2(SP2)orlater.
IfOfficeWebComponentsisnotinstalledonyourcomputerbutyouhaveanOffice2003sitelicensethatpermitsintranetdistribution,youcanconfigurethecomponentssothatuserswillbepromptedtodownloadOfficeWebComponentsfromyourcorporateintranet.ThisallowsusersatyoursitetouseadataaccesspagewithouthavingOffice2003softwareinstalledontheircomputers.
ForinformationabouthowtoconfigureOfficeWebComponents,seetheMicrosoftOfficeResourceKitWebSite.
ShowAll
Aboutinstalling,licensing,anddistributingOfficeWebComponentsWhenyoudesignaWebpageusingMicrosoftOfficeWebComponents,anyuserwithaMicrosoftOffice2003licensecaninteractwiththecomponentsinthebrowsertothelevelofinteractivityyouprovide.Thatis,auserwithanappropriatelicensecanmakechangestodatainaspreadsheet,changeformatting,dragfieldsinachartorPivotTableList,andsoon,aslongasyoudidn'tprotecttheseoptionsatdesigntime.UserswithanOffice2003licensecanalsocreate,design,andmodifycomponentsinadesignenvironmentsuchasMicrosoftFrontPageorMicrosoftAccess.
UserswhodonothaveOffice2003licensescanviewthecomponentsandthedatainthem,andcanprinttheviewofthecomponents,buttheycannotinteractwiththecomponentsormanipulatetheminadesignenvironment.ThismeansthatifyoudistributeaWebpagethatusescomponents,userswhohaveOffice2003licenseswillhaveaccesstoallfunctionalityprovided,butuserswithoutalicensecanonlyviewthedataandinformationyou'veprovided.
InstallingtheOfficeWebComponents
Detailsonlicensingandfunctionality
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.
CreateaMicrosoftOfficeSpreadsheetComponentThespecificstepsforcreatingaspreadsheetdependontheprogramyouareusingtodesignyourWebpage.Formoreinformation,seeHelpforthatprogram.IfyourdesignprogramHelpdoesnotprovideaprocedureforcreatingcomponentssuchasspreadsheets,followthesesteps:
1. Inyourdesignprogram,openorcreatetheWebpagewhereyouwantthespreadsheettoappear.
2. Usingthedesignprogram'sprocedureforaddingacomponentorActiveXcontroltoaWebpage,selectthespreadsheetcomponentanddesignatethelocationandinitialsizeofthecomponentontheWebpage.
3. Enterdataandformulasinthespreadsheet,orimportthedatatouseinthespreadsheet.
4. UsetheCommandsandOptionsdialogboxandtoolbartocustomizeyourspreadsheet.
5. Usingtheinstructionsinyourdesignprogram,publishthespreadsheet.
ShowAll
AboutaccessingadatasourceonadifferentdomainThespreadsheetattemptedtoaccessdataonanotherdomain,butfailedduetooneofthefollowingreasons:
Thesitebeingaccessedbythecontrolisnotincludedinthelistoftrustedsites.
InInternetExplorer,ontheSecuritySettingsdialogbox,underMiscellaneous,AccessdatasourcesacrossdomainsiseithersettoDisable,orsettoPromptandwhenprompted,youclickedCancel.
Toenableaccessacrossdomains,dothefollowing:
Enableprompting
Addthesitetothelistoftrustedsites
ShowAll
AboutgettinghelpforspreadsheetsSomeofthecontentinthistopicmaynotbeapplicabletosomelanguages.
Gettinghelpinotherdesignprograms
Gettinghelpwithwritingscriptsandprogramsthatusespreadsheets
Gettingandprovidinghelpinthebrowser
GettinghelpfortheSpreadsheetWebPart
ShowAll
KeyboardshortcutsinspreadsheetsForinformationaboutthekeystoactivateanddeactivatetheMicrosoftOfficeSpreadsheetComponentonthepage,seeHelpinyourdesignprogram.
Keysformovingandscrollinginaspreadsheet
KeysformovingwithSCROLLLOCKon
Keysforworkingwithsheets
Keysforenteringdataonasheet
Keysforworkingincells
Keysforformattingdata
Keysforeditingdata
Keysforinserting,deleting,andcopyingaselection
Keysformovingwithinaselection
Keysforselectingcells,columns,orrows
KeysforworkingwithAutoFilterdrop-downlists
KeysforworkingwithHelp
ShowAll
Aboutspreadsheettools,commands,andoptionsToolbar
CommandsandOptionsdialogbox
RestrictingaccesstothetoolbarandCommandsandOptionsdialogbox
Showorhidethespreadsheettoolbar1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Right-clickacellinthespreadsheet,clickCommandsandOptionsontheshortcutmenu,andthenclicktheWorkbooktab.
3. UnderShow/Hide,selectorcleartheToolbarcheckbox.
ShoworhidetheCommandsandOptionsdialogbox1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Dooneofthefollowing:
ToshowtheCommandsandOptionsdialogbox,clickCommandsandOptions onthetoolbar.
TohidetheCommandsandOptionsdialogbox,clickCloseintheupperrightcornerofthedialogbox.
Addorremovesheets1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. ClickCommandsandOptions onthetoolbar,andthenclicktheWorkbooktab.
3. UnderWorksheets,dooneofthefollowing:Toaddasheet,clickInsert.Repeattoaddmultiplesheets.
YoucanchangethenameofaninsertedsheetbyselectingthenameintheSheetnamelist,typinganewnameintheSheetnamebox,andpressingENTER.
Toremoveasheet,clickthenameofthesheetintheSheetnamelist,andthenclickDelete.
Thesheetanditsdataarepermanentlydeleted.
Changethenameofasheet1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderWorksheets,intheSheetnamelist,clickthenameofthesheetyouwanttochange.
4. TypethenewnameintheSheetnamebox.
5. PressENTER.
Changetheorderofsheets1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderWorksheets,intheSheetnamelist,clickthenameofasheetyouwanttomove.
4. ClickUp tomovethesheettowardthebeginningoftheworkbook,orDown tomovethesheettowardtheendoftheworkbook.
ShoworhidecolumnheadersorrowheadersColumnheadersarethelettersingraycells(orincellsofanothercolor,dependingonyourMicrosoftWindowsdisplaysettings)acrossthetopofthespreadsheet,androwheadersarethenumbersingraycellsdownthesideofthespreadsheet.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.
3. UnderShow/Hide,selectorcleartheColumnheadersorRowheaderscheckboxes.
Showorhidegridlinesinaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.
3. UnderShow/Hide,selectorcleartheGridlinescheckbox.
ShoworhidethesheetselectorThesheetselectorconsistsoftheSheetnametabandtheSheetlist,thesecondofwhichappearswhenyouclickthearrowonthetab.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderShow/Hide,selectorcleartheSheetselectorcheckbox.
SavechangesTosaveyourchanges,usethecommandinthedesignprogramtosavetheWebpageorthefilecontainingthespreadsheet.ForinformationabouthowtosavetheWebpageorfile,seeHelpinyourdesignprogram.
Notes
IfyoupublishedthespreadsheetfromaMicrosoftExcelworksheetandthenopenedtheWebpageinanotherdesignprogram,savingtheWebpagedoesnotsavethechangesbacktotheoriginalExcelworksheet.
IfyouwanttosaveacopyofthespreadsheetasanExcelworksheetonyourcomputer,youcanexportthespreadsheettoExcelbyclickingExporttoMicrosoftExcel onthetoolbar.YoucanalsocopyspreadsheetdatatoExcelandotherprograms.
UserscannotsavetheWebpageinthebrowser,buttheycanexportorcopyitfromthebrowser.
UndochangesToundothelastchangeyoumadeinthespreadsheet,clickUndo onthetoolbar.Youcanundomultiplechanges(upto16)byclickingUndomorethanonce.
ToundoallchangesyouhavemadetothespreadsheetsincethelasttimeyousavedtheWebpage,closetheWebpagewithoutsavingitinthedesignprogram.
PrintaspreadsheetToprintaspreadsheetonaWebpage,youmustprinttheentireWebpage.
Toprintaspreadsheetfromadesignwindow,seeHelpinyourdesignprogramforspecificinstructionsaboutprintingaWebpage.
Toprintaspreadsheetfromthebrowser,clickPrintontheMicrosoftInternetExplorerFilemenu.
NoteIfthespreadsheetiswiderorlongerthantheprintedpage,theareasthatdon'tfitonthepagearenotprinted.Formorecontroloverhowthedataisprinted,includingtheabilitytoprintalonglistandsetpagebreaks,youcanexportthespreadsheettoMicrosoftExcelbyclickingExporttoMicrosoftExcel onthetoolbar.ForinformationaboutprintingfromExcel,seeExcelHelp.
Showorhidesheets1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderWorksheets,intheSheetnamelist,selectthenameofthesheetyouwanttoshoworhide.
4. ClickHideorUnhide.
NoteUnhideisavailableonlyforhiddensheets.Sheetnamesforhiddensheetsarefollowedby(hidden).
Showorhidescrollbars1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderShow/Hide,selectorcleartheHorizontalscrollbarandVerticalscrollbarcheckboxes.
Showonlypartofaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.
3. IntheViewablerangebox,typetherangetodisplay.
Forexample,todisplayrows1through15,type1:15.TodisplaycolumnsAthroughF,typeA:F.TodisplaycellsA1throughB20,typeA1:B20.
NoteThissettingcannotbechangedinthebrowser.
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.
ShowAll
Aboutenteringtext,numbers,dates,andtimesinaspreadsheetSomeofthecontentinthistopicmaynotbeapplicabletosomelanguages.
Enteringtext
Enteringnumbers
Enteringdatesandtimes
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.
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
interpretedasadateinthetwentiethcenturyfrom30toanothernumber.Also,administratorscanchangethedefaultdateformattodisplayfour-digityearsinsteadoftwo-digityears.
Tofindoutifyoursystemusescustomizeddateinterpretation,seeyoursystemadministrator.Forinformationabouthowtocustomizedateinterpretation,seetheOffice2003ResourceKit.
Changedatainacell1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Clickthecellyouwanttochange.
3. Dooneofthefollowing:
Toenteranewnumberortextinthecell,replacingthecurrentcontentsofthecell,typethenewvalue.
Tochangeaportionofthecontentsofthecell,double-clickthecellandmakeyourchanges.
4. Toacceptyourchangestothecell,pressENTER.
Notes
Acellcanhaveonlyonefontandtextformat.
Ifyouseeamessageindicatingthattherangeislocked,youmustturnoffprotectionbeforeyoucanmodifythecell.
ShowAll
AboutmovingandcopyingdataWhenyoucopyacell,youcopytheentirecell,includingformulasandtheirresultingvalues,andcellformats.Cellsthatyoucopyormovereplaceanydataintheareawhereyoupastethecells.
Copyingandmovingaffectsformulas
Filteringaffectscopyingandmoving
Copyingtootherprograms
CopyingintheSpreadsheetComponentdiffersfromMicrosoftExcel
ShowAll
MoveandcopydataMoveorcopywholecells
Moveorcopycharacterswithinacell
ShowAll
Insertordeleterowsorcolumns1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Dooneofthefollowing:
Insertrowsorcolumns
Deleterowsorcolumns
ShowAll
Insert,change,ordeleteahyperlinkInsertahyperlink
Changeahyperlink
Deleteahyperlink
ShowAll
Clearcellcontents1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Selectthecellsthatyouwanttoclear.
3. PressDELETE.
Tip
Keepspecificrowsorcolumnsvisibleasyouscrollaspreadsheet
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Selecttherowbelowtherowsyouwanttokeepvisibleasyouscroll,orselectacolumntotherightofthecolumnsyouwanttokeepvisible.
Ifyouwanttokeepbothspecificrowsandspecificcolumnsvisibleasyouscroll,selectonecellbelowandtotherightoftherowsandcolumnsyouwanttokeepvisible.
3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheSheettab.
4. ClickFreezePanes .
NoteThissettingcannotbechangedinthebrowser.
ChangewhichcellbecomesactivewhenyoupressENTER1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheAdvancedtab.
3. TomovetheactivecellselectionortopreventtheactivecellselectionfrommovingafteryoupressENTER,selectorcleartheMoveafterreturncheckbox.
IfyouwanttospecifythedirectioninwhichtheactivecellselectionshouldmoveafteryoupressENTER,clickthearrownexttotheMovedirectionboxandthenclickDown,Left,Right,orUp.
NoteThecellselectiondoesnotmovewhentheboundariesofthespreadsheetarereached.Forexample,whenthecellselectionissettomovedownandyoupressENTERinacellinthebottomrow,theselectiondoesnotmove.
ShowAll
AboutformulasWhatisaformula?
Calculation
Constantsvs.cellreferences
Functions
ShowAll
ExamplesofcommonlyusedformulasCreateasumbasedononecondition
Counttheoccurrencesofavalueoracondition
Calculatearunningbalance
Joinfirstandlastnames
Joinadatewithtext
Increaseanumberbyapercentage
ShowAll
Createaformula1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Clickthecellinwhichyouwanttoaddaformula.
3. Typeanequalsign(=).
4. Typetheformula.
5. PressENTER.
Tip
Changeaformula1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Double-clickthecellthatcontainstheformulayouwanttochangesothattheformulaappearsinthecell.
Ifthecellcontainsahyperlink,clickacellnexttothecellyouwanttochange,andthenuseanarrowkeytoselectthecellwiththeformulayouwanttochange.ThenpressF2.
3. Makechangestotheformulainthecell.
4. PressENTER.
Viewaformulaanditsresultatthesametime1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Clickthecellthatcontainstheformulayouwanttoview.
3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormulatab.
4. ReviewtheformulaintheFormulainactivecell(reference)box.TheresultoftheformulaisdisplayedintheCellvaluebox.
InsertatotalforarangeYoucaninsertasumforarangeofcellsautomaticallybyusingAutoSum.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Clickthefirstblankcellthatfollowsthedatayouwanttosum,eitherbelowthecolumnofdataortotherightofthedatainarow,orselectacolumnrangetosum.
3. Onthetoolbar,clickAutoSum .
Asuggestedformulaisdisplayedinthecellyouselectedorinthecellbelowthecolumnrangeyouselected.
4. Dooneofthefollowing:
Toacceptthesuggestedformula,pressENTER.
Tochangethesuggestedformula,selecttherangeyouwanttosumandpressENTER.
ChangewhenaspreadsheetcalculatesWhenaspreadsheetcontainsmanyformulas,itmighttakealongtimetocalculate.Tospeedupyourwork,youcanchangethecalculationmodefromautomatictomanualsothatyoucandecidewhentorecalculatethespreadsheet.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Onthespreadsheettoolbar,clickCommandsandOptions ,andthenclicktheWorkbooktab.
3. UnderCalculation,dooneofthefollowing:
Torecalculatethespreadsheetwheneveravaluechanges,selectAutomatic.
TorecalculatethespreadsheetonlywhenyoupressF9orclickCalculate,selectManual.
ShowAll
AboutusingnamesinformulasOverview
Guidelines
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.
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.
ShowAll
AboutcellandrangereferencesOverview
Relativeandabsolutereferences
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.
ShowAll
AboutcalculationoperatorsOperatorsspecifythetypeofcalculationthatyouwanttoperformontheelementsofaformula.TheSpreadsheetComponentincludesfourtypesofcalculationoperators:arithmetic,comparison,textconcatenation,andreference.Operatorscalculateinaspecificorder.
Typesofoperators
Orderinwhichoperatorscalculate
ShowAll
AboutarrayformulasandarrayconstantsAnarrayformulacanperformmultiplecalculationsandthenreturneitherasingleresultormultipleresults.Arrayformulasactontwoormoresetsofvaluesknownasarrayarguments.Eacharrayargumentmusthavethesamenumberofrowsandcolumns.Youcreatearrayformulasinthesamewaythatyoucreateotherformulas,exceptyoupressCTRL+SHIFT+ENTERtoentertheformula.Whenyou'reeditinganarrayformula,theformulaappearsinitalicformatting.
Arrayconstantscanbeusedinplaceofreferenceswhenyoudon'twanttoentereachconstantvalueinaseparatecellontheworksheet.
Someofthebuilt-infunctionsarearrayformulas,andmustbeenteredasarraystogetthecorrectresults.
Usingarrayformulas
Usingarrayconstants
ShowAll
CreateanarrayformulaCalculateasingleresult
Calculatemultipleresults
ShowAll
EditanarrayformulaIfanarrayformulaoccupiesmultiplecells,youmustedittheentirerangeasthoughitisasinglecell.Youcannotchangejustoneelementofanarrayformula.
1. Selectthecellthatcontainsthearrayformula,orifthearrayformulaoccupiesmultiplecells,selecttherangethatcontainsthearrayformula.
How?
2. PressF2.
3. Makechangestothearrayformula.
4. PressCTRL+SHIFT+ENTER.
Selectanarrayformularange1. Selectacellwithinthearray.
2. PressCTRL+/(forwardslash).
ShowAll
Moveorcopyanarrayformula1. Selecttheentirearrayrange.
How?
2. ClickCut orCopy onthetoolbar.
3. Selecttheentiredestinationrange;otherwise,thearraywillbepastedintoasinglecell.
4. ClickPaste .
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.
NestedfunctionsIncertaincases,youmightneedtouseafunctionasoneoftheargumentsofanotherfunction.Forexample,thefollowingformulausesanestedAVERAGEfunctionandcomparestheresultwiththevalue50.
ValidreturnsWhenanestedfunctionisusedasanargument,itmustreturnthesametypeofvaluethattheargumentuses.Forexample,iftheargumentreturnsaTRUEorFALSEvalue,thenestedfunctionmustreturnTRUEorFALSE.Ifitdoesn't,thespreadsheetdisplaysa#VALUE!errorvalue.
ShowAll
Formatcellsinaspreadsheet1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Selectthecellsyouwanttoformat.
3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormattab.
4. Dooneormoreofthefollowing:
Changetextfontorsize
Changeanumberformat
Placebordersaroundcells
Changethebackgroundcolorofcells
Aligndatainacell
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
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.
Mergeorunmergecells1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Selectthecellsthatyouwanttomerge.Keepinmindthatwhenyoumergecells,onlydataintheupper-leftcelloftheselectedrangeisretained.Datainallothercellsthatyoumergeisdeleted.
3. Onthetoolbar,clickCommandsandOptions ,andthenclicktheFormattab.
4. UnderCellformat,clickMergeCells orUnmergeCells .
ShowAll
Changethewidthofacolumn1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Makesurecolumnheadersaredisplayed.
How?
3. Selectthecolumnsyouwanttochange.
4. Pointtotherightboundaryofthecolumnheaderofthecolumnorselectionuntilthepointerchangesto .
5. Dragtheboundarytothewidthyouwant,or,tomakethecolumnwidthfitthecontents,double-clicktherightcolumnboundary.
ShowAll
Changetheheightofarow1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Makesurerownumbersaredisplayed.
How?
3. Selecttherowsyouwanttochange.
4. Pointtothebottomboundaryoftherowheaderoftheroworselectionuntilthepointerchangesto .
5. Dragtheboundaryuntiltheroworselectionistheheightyouwant,or,tomaketherowheightfitthecontents,double-clickthebottomrowboundary.
ShowAll
DisplaytextoraspreadsheetsothatitreadsrighttoleftorlefttorightUseright-to-lefttextdirectionordisplaywhenyourspreadsheetwillbeviewedinlanguagesthatreadfromrighttoleft.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Dooneofthefollowing:
Displayanentirespreadsheetrighttoleftorlefttoright
Displaytextrighttoleftorlefttoright
ShowAll
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.
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.
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.
ShowAll
SortdataDatathatyouwanttosortshouldbesetupasalist.Alisthassimilaritemsineachcolumn,haslabelsforthecolumnsacrossthetoprow,anddoesnotincludeanyblankrowsorcolumns.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Dooneofthefollowing:
Sortbyasinglecolumn
Sortbymorethanonecolumn
ShowAll
ApplyorremoveafilterApplyafilter
Removeafilter
ShowAll
Sumfiltereddata1. Inthedesignwindow,makesurethespreadsheetisactivated.
Forinstructions,seeHelpforyourdesignprogram.
2. Filterthedatatodisplaytherowsyouwanttosum.
How?
3. Clickthecellbelowthedatayouwanttosum.
4. ClickAutoSum onthetoolbar,andthenpressENTER.
NoteTheAutoSumbuttonsumsonlythedatainvisiblerows.Toincludeallrowsinthesum,showallrowsandthensumtherows.
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,
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.
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.
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.
ShowAll
GetdatafromothersourcesCopyandpastedatafromanotherprogram
ImportdatafromaWebpage,textfile,orXMLfile
Connecttoadatasource
ShowAll
RestrictuseofaspreadsheetinthebrowserYoucanpreventusersfrommakingchangestosheetsbyusingprotectionoptionsthatareavailableonlyduringdesigntime.Theseoptionstakeeffectduringruntime,andgenerallydonotapplywhileyou'redesigningthespreadsheet.
Protectentiresheet
Protectonlyspecificcells
Displayonlypartofaspreadsheet
Preventsheetsfrombeinginserted,removed,orrenamed
PreventdisplayoftheCommandsandOptionsdialogbox
Preventorallowmonitoringofeventsbyprogramsandscripts
Notes
Youcannotsetpasswordsonspreadsheets.
Ifyoudon'twantuserstomakechangestoyourspreadsheet,considerpublishinganoninteractiveHTMLversionofthespreadsheet.SeeMicrosoftExcelHelpformoreinformation.
RemoveprotectionfromaspreadsheetThisprocedurecanbeperformedatdesigntimeonly.Browserusersdonothaveaccesstothisoption.
1. Inthedesignwindow,makesurethespreadsheetisactivated.Forinstructions,seeHelpforyourdesignprogram.
2. Onthetoolbar,clickCommandsandOptions ,andthenclicktheProtectiontab.
3. UnderSheet,cleartheProtectactivesheetcheckbox.
4. Ifyouwantuserstobeabletoinsert,remove,orrenamesheets,orusetheCommandsandOptionsdialogbox,checktobesurethattheInsert,remove,orrenamesheetscheckboxandtheCommandsandOptionsdialogboxcheckboxunderWorkbookareselected.
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
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
definedtousethatdataretrievalservice)toconnecttoanexternaldatasource,andyoudonotuseWindowsAuthentication,theusernameandpasswordusedtoconnecttothedatasourcearenotsavedintheWebpage.Whenyouusethismethodtoconnecttoanexternaldatasource,usersoftheWebPagethathostsyourspreadsheetwillbepromptedtoentertheirlogoninformation.
ShowAll
Troubleshootspreadsheets
FindingHelpinformationIcan'tfindthehelpinformationIwant
EnteringandeditingdataandformulasIcan'tchangecellsinthespreadsheet.
Ican'twraptextwithincellsinaspreadsheet.
Thereisnoformulabarinmyspreadsheet.
Ican'tsetapasswordforaspreadsheet.
Ican'tchangeahyperlinkthatIpublishedfromMicrosoftExcel.
Ican'tcontrolthesizeofmyspreadsheet.
Ican'tcontrolwhetherscrollbarsaredisplayedorhiddeninmyspreadsheet.
Filtering,sorting,andfindingdataDatadoesnotsortcorrectlyinaspreadsheet.
Myspreadsheetlistdoesnotshowallofmydata.
Ihavemergedcells,andIcan'tfiltermyspreadsheet.
TheFindNextcommandisnotfindingdatainmyspreadsheet.
IpublishedaspreadsheetfromExcel,andtheAutoFilterdrop-downlistiswrong.
ImportingandexportingIcan'tpublishapassword-protectedspreadsheetfromExcel.
MyspreadsheetfilterisnotexportingtoExcelcorrectly.
IgetamessagethattherearetoomanyrowsorcolumnswhenItrytoexportmyspreadsheettoExcel.
WorkingwiththespreadsheetinthebrowserUserscannotinteractwithmyspreadsheetinthebrowser.
WhenIopenaWebpagethatcontainsaspreadsheetinthebrowser,Ireceivetheerror"CannotopenURL."
ClickingtheEditbuttoninmyWebbrowseropensmyWebpageinthewrongprogram.
ErrorvaluesIseeerrorvaluesinsteadofresultsforformulas.
Accessingadatasourceonanotherdomain
Thespreadsheetattemptedtoaccessdataonanotherdomain,butfailed.
ShowAll
TroubleshooterrorvaluesinaspreadsheetIfaformulacannotproperlyevaluatearesult,thespreadsheetdisplaysanerrorvalue.Forexample,errorvaluescanresultwhenaformulaexpectsanumericvaluebutfindstext,whenacellthatisreferencedbyaformulahasbeendeleted,orwhenthecellisnotwideenoughtodisplaytheresult.
Errorvaluesmightnotbecausedbytheformulaitself.Forexample,ifaformulashows#N/Aor#VALUE!,acellreferencedbytheformulamightcontaintheerror.
Followingarepossiblecausesandsolutionsforeacherrorvalue.
#####
#CIRC!
#DIV/0!
#N/A
#NAME?
#NULL!
#NUM!
#REF!
#VALUE!