How can I resize the size of the Excel web part?

I have a spreadsheet that i want to use to populate a page in my SharePoint site.  i copied the workbook to the site, created the page and added the excel web part. then i linked the workbook to the web part and submitted.  it displays but only
about 25% of the sheet shows. i dont want to use the thumbs to scroll inside the web part. i want the web part sized to show the entire spreadsheet.  cant seem to find how to size the web part. Can some kind soul help me out here.
thanks

Hi,
According to your post, my understanding is that you wanted to resize the size of the Excel web part.
Per my knowleadge, most of the time excel web parts turn out ugly, due to the fact that they’re rendered in an iframe and therefore the browser doesn’t resize the container to fit the content.
As a workaround, we can edit the page where you want the resizing to happen, add in a content editor web part, and paste the following code into the source editor.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () { // resizes excel webparts
$("td[id^='MSOZoneCell_WebPart']").each (function (i, e) {
var findIframe = $(e).find ("iframe:first");
if (findIframe &amp;&amp; findIframe.attr ("scriptforiframecontent"))
bindEwaLoaded ("#"+e.id);
function bindEwaLoaded(obj) { // bind event to the web part
$(obj).bind ("ewaLoaded", function (e) {
var b = $(e.target).find ("iframe:first").attr ("postedbackalready");
if (b == undefined) // loop until iframe is ready
setTimeout (function() { $(e.target).trigger ("ewaLoaded"); }, 1000);
else // try to resize now
ewaSetSize (e.target);
}).trigger ("ewaLoaded"); // first trigger now
function ewaSetSize(obj) { // resize elements
// configure paddings
var excelObjectWidthPadding = 50;
var excelObjectHeightPadding = 50.
var w, h, div1, div2;
var e = $(obj).find ("iframe:first").contents().find ("table.ewrnav-invisibletable-nopadding:last");
if (e.length != 0) { // excel table
w = e.width ();
h = e.height ();
div1 = $(obj).find ("table:first> tbody:first> tr:eq(1)> td> div> div");
div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
} else {
e = $(obj).find ("iframe:first").contents().find ("div.ewrchart-img-div");
if (e.length != 0) { // excel chart
w = e.width ();
h = e.height ();
div1 = $(obj).find ("table:first> tbody:first> tr:eq(0)> td> div> div");
div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
if (w == 0 || w == undefined) { // loop until content is ready
setTimeout (function() { ewaSetSize (obj); }, 1000);
} else { // do resize
w += excelObjectWidthPadding;
h += excelObjectHeightPadding;
div1.width (w);
div2.height (h);
</script>
For more information:
Automatically resizing Sharepoint Excel Web Parts
JQuery for Everyone: Dynamically Sizing Excel Web Parts
Dynamically re-sizing excel services webparts
Thanks,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • How can I resize an image in the header?

    I have uploaded my organization's logo into our document, but it is out of proportion to the rest of the document. I've delted it and uploaded smaller versions of the logo and it is still too big. How can I format the image in the header so that it is more reasonably sized?

    Thanks. The triangle was buried in the image. If you hadn’t told me where to look, I would never have found it!
    Michelle
    Michelle Lancto
    Jewish Endowment Foundation
    a division of the Jewish Federation of Western Massachusetts
    Phone: 413-732-9994                Fax: 413-737-4348
    <mailto:[email protected]> [email protected]
    <http://www.jefwesternmass.org/> www.jefwesternmass.org 
    <http://www.jewishwesternmass.org/> www.jewishwesternmass.org
    JEF_Logos_1101_JFWM for email LOW RES
    Confidentiality Notice
    The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.

  • How can I use custom sizes with the hp deskjet 3050a

    Why can't I find a place to cusomize card stock sizes in my printer

    The driver that is used for the Deskjet 3050a does not support custom sizes. It has a pre-set of choices and this is all the driver supports.
    You may be able to use an alternate driver, such as the HP Deskjet 9800 driver, that supports using custom paper sizes. Check the thread located here for information on how to use an alternate driver.
    Hope this helps.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How can I resize the PDF I created with a magazine template?

    Hello! I used a template that`s a different size than what I need. How can I resize (make it smaller) the PDF that I just created with this magazine template?

    So you picked a template in A4 format, and now you need letter. The printer can scale the PDF to 11" and it will get even narrower, leaving large margins. Does it have bleeds? That woudl be a disaster.
    Frankly, the best thing is to start over using the correct page size, but you can go to File > Document Setup... in ID and change the shape of the exisiting file. Expect to do a lot of work moving and resizing objects and refitting the type.

  • How can i resize my contacts photo in iOS 7.1?

    how can i resize my contacts photo (the photo that appears while receiving call) in iOS 7.1?
    assign from pc or iphone doesn't make changes

    The small circle photo is the only option with iOS 7.1

  • How can I see page size?

    How can I see page size of the open document?

    This functionality is not available in Adobe Reader for Android. Could you please let us know how and why you would you like to see this feature so that we could add it to our product backlog?
    Thanks,
    Adobe Reader Team

  • How can I resize a JFrame ,to fit into the screen size

    I have a Jframe which has JPanel and JPanel contains lot of other components.JPanel size is 980,1400. when i use JFrame.show method jpanel goes beyond the screen size in length and I am not able to see the portion below the screen.How can I resize the JFrame so that JFrame and JPanel shrinks to fit into the screen size.I need this because I have a PRINT button at bottom of the JPanel.Thanks.

    Thank you for your reply.I tried with the following code as you have told.But the frame is still going beyond the screen.Can you please look into it and tell me whats wrong ?
    //public class PlayerRegForm extends javax.swing.JFrame implements Printable
    public static void main(String args[]) {
    PlayerRegForm prf = new PlayerRegForm();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = prf.getSize();
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    System.out.println("Screen Size ----------------- " + screenSize);
    System.out.println(" Frame Size ----------------- " + frameSize);
    prf.setSize(frameSize.width, frameSize.height);
    prf.pack();
    prf.show();
    =============================================================================
    Screen Size ----------------- java.awt.Dimension[width=1024,height=768]
    Frame Size ----------------- java.awt.Dimension[width=112,height=28]

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • How do I stop text from resizing to the size of the browser window

    Hello there,
    I am using a DW CS3 template that has a sidebar div and a
    main content div - the text in the main content div keeps resizing
    to the size of the browser window - I don't want the text to resize
    if I make the browser window smaller - I want it to remain the
    same. I am trying to float the text right and input a width but
    this is not working for me. What am I doing wrong?
    HELP!
    Many thanks!

    >>What am I doing wrong?
    Not giving us a link to the uploaded page so we can see the
    page, how it
    behaves and the actual code.
    Until we see that you are unlikely to get a definitive
    answer. The problem
    is unlikely as you state it because text itself is never
    dependant on the
    browser viewport size.
    Walt
    "Fun Leprechaun" <[email protected]> wrote
    in message
    news:g9f7rq$ie4$[email protected]..
    > Hello there,
    >
    > I am using a DW CS3 template that has a sidebar div and
    a main content
    > div -
    > the text in the main content div keeps resizing to the
    size of the browser
    > window - I don't want the text to resize if I make the
    browser window
    > smaller -
    > I want it to remain the same. I am trying to float the
    text right and
    > input a
    > width but this is not working for me. What am I doing
    wrong?
    >
    > HELP!
    >
    > Many thanks!
    >

  • How can I resize an image without losing resolution or using the crop tool? I am using Photoshop Elements 13 on a PC.

    How can I resize an image without losing resolution or using the crop tool? I am using Photoshop Elements 13 on a PC.

    Hi Peru Bob,
    I've tried two images, the results were:
    Image 1
    Jpg, original file size 923KB, dimensions 848px x 279px.
    After resizing to 848px x 180px with 72dpi, the file size decreased to 164KB.
    Image 2
    Jpg, original file size 809KB, dimensions 1200px x 1800px.
    After resizing to 668px x 722px with 72dpi, the file size decreased to 307KB.
    So, there seems to be a fair file size loss - is this to be expected?

  • How Can I Determine the Size of the 'My Documents' Folder for every user on a local machine using VBScript?

    Hello,
    I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
    Let me explain. I need a vb script for the following scenario:
    1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
    2. These are shared workstation i.e. different users login to these machines from time to time.
    3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
    .CSV file located at C:\Temp directory on the machine.
    4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
    System Rights
    I tried the script detailed at:
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx 
    Const MY_DOCUMENTS = &H5&
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_DOCUMENTS)
    Set objFolderItem = objFolder.Self
    strPath = objFolderItem.Path
    Set objFolder = objFSO.GetFolder(strPath)
    Wscript.Echo objFolder.Size
    The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
    '0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
    I then tried the script at:
    http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
    This script returns the correct value but only for the current logged-on user.
    Const blnShowErrors = False
    ' Set up filesystem object for usage
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    ' Display desired folder sizes
    Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
    ' Recursively tally the size of all files under a folder
    ' Protect against folders or files that are not accessible
    Function FindFiles(objFolder)
    On Error Resume Next
    ' List files
    For Each objFile In objFolder.Files
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
    On Error Resume Next
    FindFiles = FindFiles + objFile.Size
    If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
    Next
    If Err.Number = 0 Then
    ' Recursively drill down into subfolder
    For Each objSubFolder In objFolder.SubFolders
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
    FindFiles = FindFiles + FindFiles(objSubFolder)
    If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
    Next
    Else
    ShowError "FindFiles:03", objFolder.Path
    End If
    End Function
    ' Function to format a number into typical size scales
    Function FormatSize(iSize)
    aLabel = Array("bytes", "KB", "MB", "GB", "TB")
    For i = 0 to 4
    If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
    Next
    FormatSize = Round(iSize, 2) & " " & aLabel(i)
    End Function
    Sub ShowError(strLocation, strMessage)
    If blnShowErrors Then
    WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
    WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
    WScript.StdErr.WriteLine " " & strMessage
    Err.Clear
    End If
    End Sub
    The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
    Is this possible?
    Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • How can I Resize Two or More Shapes At The Same Time?

    I've got text over a rectangle over another rectangle. When I change my text, the size of the boxes needs to change and it's a drag ot have to do each one separately and constantly realign. Is there a way I can resize both of them at the same time tokeep the proportions the same?
    Or is there a way I can enter #s to resize, so I could just enter the same #s for each shape?
    Thanks,
    Amanda

    Here's an example of what Wyodor is referring to: text in shapes within another shape.. It goes one step further and adds the first shape+text into another shape but the concept is the same.
    OT

  • How can I print a pdf in the actual size with a page border?

    How can I print a pdf in the actual size with a page border? (2 pages per sheet preferred)
    I usually print pdfs of books at a copy shop and they turn out fine.
    The problem comes when I try to print the same books at home.
    I use Adobe Acrobat X with the same settings: "multiple pages per sheet" (2x1) and page border. But the pages are slightly shrunken when printed. I think this is because my printer can't print as closely to the margins. Still, two pages should be able to fit on one sheet in actual size. Are there any layout settings that I can play with to find a better fit, besides portrait and landscape?
    If I select page scaling "none," I'm able to print the pdf in actual size, one page per sheet. But there's no option to add a page border.

    I have a test with some questions (multiple choice, FIB, matching, etc). I have just one button to submit all the answers, and after submiting the student can see his score and review the test to know where he failed. He can't answer again. However, he can change the answer multiple times before submiting.
    "if i turn on success/failure captions the student will see them while answering" - before submitting
    "if i turn them off he wont know what's the right answer" - after submitting
    My results page is the default. I didn't use any variable. When i go to the results page after reviewing the test all the entry boxes are "wrong".

  • I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

  • I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto

    I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto.

    What format are they? Tiif? Jpeg? You can compress them with a lot of apps - including Preivew and just about any graphics editor out there. I'm not sure that 45mb would crash iPhoto thogh, are yo sure that's the cause? I know that some folks have mentioned pixel dimensions causing issues, as can color profiles.
    Regards
    TD

Maybe you are looking for

  • Problems with html content in box

    Hi! I have a problem with html content. For example photoswipe. If I import the folder with the index.html of photoswipe as an article all works fine. If I link it trough the folio overlay creator/webcontent) into a box in indesign dps, it stays empt

  • Migration Exchange 2010 to Exchange 2013 in a different site

    Hi all, I have an Exchange 2010 with these characteristics Site A - 2 Servers DAG for mailboxes - 2 Servers Client Access and Hub Transport in Microsoft NLB - 2 Domain Controllers Windows Server 2008 R2 I want to upgrade to Exchange 2013 but in anoth

  • Problems with producing PDFs via Adobe Acrobat Prof 11

    Hello we have the following problem: While producing several word documents via PDF Printer (we have insallted the latest version of Adobe Acrobat Professional 11) we receive error messages like %%[ ProductName: Distiller ]%% %%[ Error: /EMC pdfmark

  • Finder keeps relaunching itself

    Macbook Pro OS X 10.8.5 2.5 GHz Intel Core i5 4GB 1600 MHz DDR3 Finder keeps relaunching itself every few minutes and an error message pops up every time. "The last time you opened Finder, it unexpectedly quit while reopening windows. Do you want to

  • Purchasing calendar in iPhoto...gives wrong country on shipping details

    I have made a calendar & when I go to purchase I get prices & address options only for the UK. I am not a UK customer & do not have an address there. Does anyone know how I can change this?