Auto width in excel

hello,
i have created this excel file.
i was wondering if someone can how me how to autosize the width.
i want it to autosize the width as i open up microsoft excel.
can someone show me how to do that.
thanks
Message Edited by krispiekream on 06-16-2008 07:55 PM
Best regards,
Krispiekream
Solved!
Go to Solution.
Attachments:
untitled5.PNG ‏39 KB
untitled6.PNG ‏39 KB

i got it to autofit and it worked fine.
right now, i either want to close it save it.
i am having a hard time saving it with autosize width already.
everytime it popped "save yes", "no","cancle".
when i put save. and oonce i open it up again, the file did not autosize the width for me because it save has delimiter or something.
Message Edited by krispiekream on 06-17-2008 11:58 AM
Best regards,
Krispiekream
Attachments:
untitled5.PNG ‏16 KB

Similar Messages

  • Spry Menu Bar 2.0 auto-width issues for sub items

    I am testing the spry menu bar 2.0 and it displays perfectly in IE 9.0/8.0 but the auto width is not working for Firefox (testing 3.6.16), Chrome (testing 10.0.648.205), or Safari for windows.  Content is being driven by PHP and MySQL.  This is the first time I have come across something working better in IE than the other browsers.  Great job on the IE patch script.  How do I get the other browsers to cooperate?  I moved the in page CSS generated by the widget browser to it's own CSS (called spry_menubar2_horizontal_sample_layout.css) and am including the files below in the head.  The links below point to an exact copy of the files as the working copy of the files is located elsewhere.
    SpryMenuBasic.css - link
    SpryMenuBasicSkin.css - link
    spry_menubar2_horizontal_sample_layout.css - link
    SpryDOMUtils.js - link
    SpryDOMEffects.js - link
    SpryWidget.js - link
    SpryMenu.js - link
    SpryMenuBarKeyNavigationPlugin.js  - link
    SpryMenuBarIEWorkaroundsPlugin.js - link
    the in page script is loacated directly under the <ul> lists.
    Similar example with php removed:
    <div id="navigation">
        <ul id="MenuBar">
          <li> <a href="http://www.videoonpointe.com/">Home</a> </li>
          <li> <a href="#">Gallery</a>
          <ul>
            <li> <a href="#">View Gallery</a></li>
            <li> <a href="#">Select Gallery</a>
              <ul>
            <li> <a href="#">Main Gallery</a>
              <ul>
                <li> <a href="#">a gallery</a></li>
            </ul>
            </li>
          </ul>
          </li>
            <li> <a href="#">Edit this Gallery</a></li>
            <li> <a href="#">Create Gallery</a> </li>
            <li> <a href="#"  onClick="return confirm('This action cannot be undone. Are you sure?');">Delete this Gallery</a></li>
          </ul>
          </li>
                <li> <a href="#">Photo</a>
              <ul>
                <li> <a href="#">Edit Photo</a> </li>
                <li> <a href="#"  onClick="return confirm('Deletion of this image cannot be undone. Are you sure?');">Delete Photo</a> </li>
                <li> <a href="#">Set as Gallery Thumbnail</a> </li>
                <li> <a href="#">Change Watermark</a> </li>
              </ul>
              </li>
          <li> <a href="#">Pricesheet</a>
            <ul>
              <li> <a href="#">Pricesheet Admin</a> </li>
        </ul>         
          </li>
       </ul>
    <script type="text/javascript">
      var MenuBar = new Spry.Widget.MenuBar2("#MenuBar", {
               widgetID: "MenuBar",
               widgetClass: "MenuBar  MenuBarLeftShrink",
               insertMenuBarBreak: true,
               mainMenuShowDelay: 100,
               mainMenuHideDelay: 200,
               subMenuShowDelay: 200,
               subMenuHideDelay: 200
    </script>
    </div>
    Has anyone encountered this issue before?  Any thoughts on how it can be fixed?  Thank you for your help.

    I am surprised no one has responded yet.  Surely someone has encountered this before.  Any thoughts?

  • Problems with auto widths - Safari, IE

    http://www.spoc-ortho.com/test_jn.html
    What am I doing wrong?
    1. In Safari, all of the submenus except for "Employment"
    have a one-line gap between the main menu bar and submenus.
    2. I followed the directions at
    http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WS0BB04E11-1BE3-4a67-BC94-BE7DA 93A0159.html
    to change from fixed-width to auto width, but now in IE 7 the menus
    don't drop down at all but instead are jumbled together with extra
    content on the right side of the page. If IE 7 gets it this badly,
    I don't even want to consider IE6...
    Project is due Thursday end-of-day (4/10/08)... I've spent
    three days messing around with this and am getting nowhere.

    I am sorry, but you have changed the CSS beyound recognition; I do not want to spend my time going through it to correct it.
    One example that has angered me is
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
        margin: 0;
        padding: auto;
        list-style-type: katakana;
        font-size: 100%;
        cursor: default;
        width: 13em;
        border-top-color: #edeeee;
        border-top-style:groove;
        border-bottom-color:#313132;
            border-bottom-style:groove;
        border-left-color:#cbcccd;
            border-left-style:groove;
        border-right-color:#3d3d3e;
        border-right-width: thin;
            border-right-style:groove;
    Changing this has not made you an expert
    Another example on or about line 155 is this line which is sure to upset the browser.
    ul.MenuBarVertical a:focus
    Yet another one
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
       left: -11px;
        border-top-color: #edeeee;
        border-top-style:groove;
        border-bottom-color:#313132;
        border-bottom-style:solid;
            border-bottom-style:groove;
        border-left-color:#cbcccd;
            border-left-style:groove;
        border-right-color:#3d3d3e;
        border-right-width: thin;
            border-right-style:groove;
    I suggest you start with a new widget, but before you do, read this http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Gramps

  • GridView support auto width and center both LandScape and Portrait

    Hi.
    I have a problem with GridView. How can i set auto width of item in GridView and auto center it ?
    I add 3 item and width_height of each is 100.
    My code :
    <GridView x:Name="gridControl"
    Padding="5"
    ItemsSource="{Binding}"
    HorizontalAlignment="Center"
    IsItemClickEnabled="True">
    <GridView.ItemsPanel>
    <ItemsPanelTemplate>
    <WrapGrid Orientation="Horizontal"
    MaximumRowsOrColumns="5" />
    </ItemsPanelTemplate>
    </GridView.ItemsPanel>
    <GridView.ItemTemplate>
    <DataTemplate>
    <StackPanel Margin="10"
    Width="100"
    Height="150">
    <Image Source="{Binding AppIcon}" />
    <TextBlock Grid.Row="1"
    Text="{Binding AppName}"
    TextWrapping="Wrap"
    TextAlignment="Center"
    FontSize="20" />
    </StackPanel>
    </DataTemplate>
    </GridView.ItemTemplate>
    </GridView>
    Problem is :
    - When list item only 1 or 2, It's still in center so margin Left and Right so much. I want if number of item not fill screen width it must Alignment with left. And if width of item over screen size it must auto next row and center all in Screen.
    Like this :
    | Item1 Item2           |
    And :
    | Item1 Item2 Item3 |
    | Item4                      |
    Don't want this:
    |      Item1 Item 2     |

    Like this :
    | Item1 Item2           |
    And :
    | Item1 Item2 Item3 |
    | Item4                      |
    Don't want this:
    |      Item1 Item 2     |
    Hi Khiem Huynh Kites,
    In order to implement your above requirement, please try to remove the HorizontalAlignment="Center" from your GridView, or it will let the GridView item in the center-alignment. And I have tested in my side, it works very well, please
    try to check it:
    <GridView x:Name="gridControl"
    Padding="5"
    ItemsSource="{Binding}"
    IsItemClickEnabled="True">
    The result:
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I total the currency amounts in multiple cells i.e. auto sum in Excel?

    Can I total the currency amounts in multiple cells i.e. auto sum in Excel?

    Can I total the currency amounts in multiple cells i.e. auto sum in Excel?

  • Auto Width Horizontal Menu Bar

    I've browsed the forum to see if anyone else has had this
    problem. I didn't find anything, so I apologize if this is a
    repeat.
    I'm having problems with long submenus that don't wrap. Right
    now my submenus look like the second sample in the Auto Width
    Horizontal Menu Bar page from Labs. I need them to look like the
    last sample at the bottom of the page.
    Auto
    Width Horizontal Menu Bar Sample
    I've tried the suggestions in this page, but when I change
    the ul.MenuBarHorizontal ul width to auto, it skews my submenus and
    they stretch across the page instead of down in a list. And they
    still have the extra white space. Any other suggestions?
    I'm sorry, I can't provide a URL, but like I said, my menus
    look like the samples in the Labs document.

    I have the same problem...

  • How to make panel collection with auto width and height in popup dialog ?

    Hi,
    I have ony af:popup in that I have added af:dialog. And in this af:dialog I have added af:table which is surrounded by af:panelCollection.
    Means my popup structure is like as below
    af:popup
    af:dialog
    af:panelCollection
    af:table
    If I set resize="on" in af:dialog then I can able to resize my popup dialog but the panelCollection inside the af:dialog is not become auto adjusted.
    I am able to make panelCollection width auto adjusted by using AFStretchWidh style class but not able to adjust its height.
    Hope you can understand my problem and pls try to provide me its solution if you have already implemented this.
    Regards,
    DevD

    I believe you are using af:panelGroupLayout because there are some other components except af:panelCollection, so try this combination
    <af:popup id="p1">
      <af:dialog id="d2" resize="on" stretchChildren="first">
        <af:panelStretchLayout id="psl2">
          <f:facet name="bottom"/>
          <f:facet name="center">
            <af:panelCollection id="pc1">
              <f:facet name="menus"/>
              <f:facet name="toolbar"/>
              <f:facet name="statusbar"/>
              <af:table var="row" rowBandingInterval="0" id="t1">
                <af:column sortable="false" headerText="col1" id="c1">
                  <af:outputText value="#{row.col1}" id="ot5"/>
                </af:column>
                <af:column sortable="false" headerText="col2" id="c3">
                  <af:outputText value="#{row.col2}" id="ot4"/>
                </af:column>
                <af:column sortable="false" headerText="col3" id="c2">
                  <af:outputText value="#{row.col3}" id="ot3"/>
                </af:column>
                <af:column sortable="false" headerText="col4" id="c4">
                  <af:outputText value="#{row.col4}" id="ot2"/>
                </af:column>
                <af:column sortable="false" headerText="col5" id="c5">
                  <af:outputText value="#{row.col5}" id="ot1"/>
                </af:column>
              </af:table>
            </af:panelCollection>
          </f:facet>
        </af:panelStretchLayout>
      </af:dialog>
    </af:popup>Put only af:panelCollection in CENTER facet of af:panelStretchLayout and use other facets of af:panelStretchLayout for other components.

  • Auto-width adjust boolean property for ring control

    That would be nice to have an invoke node to make a ring control to auto-adjust its width depending on the longest string from String[] items, the function would manage by itself how many pixels are required to show any selected item by its font size, bold, italic...
    This would be an option for the developer so it wouldn't break any existing code.

     In 1000 words.  Anternately you could Create Referance from the terminal and wire it to a Property node
    Jeff

  • Increase width for Excel and CSV reports

    HI ,
    I am having problem with data in Excel and CSV reports , since the data is large and the width of the column is fixed its is displaying ###### ,
    can u suggest me how to make the wodth of the columns variable depending upon the data passed.
    I want to know how to increase the width of column in Excel and csv reports dynamically.
    Thanks & Regards
    Dipty

    What has this to do with JSF?
    It is obvious that it is a setting/bahaviour of Excel. Just doubleclick at the right column border, then it will be widen according to the largest cell contents.

  • Auto Width for Spry Menu

    I've set the width of a (position: absolute) container for a Spry menu so it's width (width: auto) will expand to hold the menu in a single row.
    But sometimes it looks like this in CS3:
    While in browsers it looks OK, like this:
    Is it OK to set the width (or height, for that matter) of the container to auto or or do I have to set a fixed width?

    Please see the answer in the other forum.
    Gramps

  • Fixed column width in Excel output

    Hi,
    Can we fix a column width when we are viewing the report output in excel? Can we do that in RTF template?
    If the column name is too long, it is automatically inreasing width of the column...But I need the column to be of a fixed width.

    You should try Excel templates instead of RTF templates. This is the best method to control Excel output formatting like column width.did you try excel template ?
    for example for 3 nested group?
    from Re: Can XDODTEXE produce BI Publisher output?
    i tested true excel template on ebs r12.1.2 and it works only for one group and for two group the result awful it duplicate and mix data
    IMHO true excel template very limited yet

  • Column width in Excel BPS

    Hi,
    I have a BPS layout with a largest value in a cell of one column. The amount is represented by ######### because the column is not open to show the value.
    The formatting options "Controlling column width" is selected, if I deselect this option is worst.
    The user can’t fit the column width; the column is not protected.
    The largest amount is generated by an excel formula.
    What can I do?
    Thanks
    Victoria

    Or <u>after</u> the Layout component in the web interface builder assign a text/html-component with html=true and following script, where you can hardcode the column width
    <script language="JavaScript" type="text/javascript">
    <!--
      var layout_id = "<b>LayoutXXX</b>";
      layout_sheet = getBpsExcel( layout_id );
      if (layout_sheet && layout_sheet.ActiveSheet) {
    // OPEN Excel OWC FOR CHANGE
        layout_sheet.ActiveSheet.Protection.Enabled = false;
    // SET RANGE (ROW,COL) TO (ROW,COL)
    // CHANGE PARAMETERS
        range = layout_sheet.Range(layout_sheet.Cells(1 ,1 ),
                layout_sheet.Cells(100 ,100 ));      
        <b>range.Columns.ColumnWidth = 10</b>;
    //PROTECT THE SHEET AGAIN
        layout_sheet.ActiveSheet.Protection.Enabled = true;
    -->
    </script>

  • Auto close opened excel files

    Hello Guys,
    We need help with excel. There are many users who forgot to close excel and open files and when someone else tries to open file he gets error message. Is there a way to configure so that excel shows who is user and if i can configure auto close after example
    5 min.
    Thank you in advance

    Hello Guys,
    We need help with excel. There are many users who forgot to close excel and open files and when someone else tries to open file he gets error message. Is there a way to configure so that excel shows who is user and if i can configure auto close after example
    5 min.
    Thank you in advance
    The following Sub goes into the Workbook
    Private Sub Workbook_Open()
    EndTime = Now + TimeValue("00:05:00")
    RunTime
    End Sub
    This one goes in a separate module:
    Public EndTime
    Sub RunTime()
    Application.OnTime _
    EarliestTime:=EndTime, _
    Procedure:="CloseWB", _
    Schedule:=True
    End Sub
    Sub CloseWB()
    Application.DisplayAlerts = False
    With ThisWorkbook
    .Saved = True
    .Close
    End With
    End Sub
    The next one should go in each sheet you have in the WB
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If EndTime Then
    Application.OnTime _
    EarliestTime:=EndTime, _
    Procedure:="CloseWB", _
    Schedule:=False
    EndTime = Empty
    End If
    EndTime = Now + TimeValue("00:05:00")
    RunTime
    End Sub

  • What is the best way to send auto mail with excel(generated by query) attachment?

    Hello,
    Need to generate first data from stored procedure and the save it to an excel file and then send mail with the same excel file.
    So am searching for the best way so that i could do all process in a single task with daily or monthly schedule.
    As per my understanding, we could it via SSIS and by sql server using
    sp_send_dbmail.
    But i have to generate excel file first by stored procedure and then end it by mail.
    So please suggest the best way to accomplish all task in a single task.
    Thanks
    Ajay 

    Hi Ajay,
    As shown in the blog mentioned by Syed, to delete records from the Excel file, you need to use Update OpenRowset command to update the corresponding rows to blank.
    Alternatively, you can also use Derived Column Transformation or Conditional Split Transformation after the OLE DB Source so that you can replace the target rows with NULL before exporting to Excel destination or just redirect the expected records to the
    Excel destination.
    Then, in the Control Flow, you can add a Send Mail Task to send the Excel file by setting it as the attachment. The following screenshot is for your reference:
    Regards,
    Mike Yin
    TechNet Community Support

  • Af:table auto width

    Hi Folks,
    i have an af:table with some column. Selection of some inputChoice hides/unhides on of the columns. The moment column is hidden i can see blank space for that column. How can we adjust the width of table based on nos of columns to be displayed.
    Its a simple JEE project with adf faces as presentation tier
    thnks

    the columnStretching property works like this:
    Indicates what kind of stretching you want applied to the columns. For optimal performance, use the "none" (default) option. If you want the last column to stretch to fill up any unused space inside of the viewport, use the "last" option. If you want to have an empty blank column be automatically inserted and have it stretch (so the row background colors will span the entire width of the table), use the "blank" option. If you want to have a specific leaf (non-group) column stretch to fill up any unused space inside of the viewport, use the option where you specify "column:" followed by the ID of the column that you want to have stretched, e.g. "column:myColId". If you want more than one column stretched, use the "multiple" option. When the "multiple" option is used you can set the widths in the columns (non-group) to be percentages. See the column documentation for how percentages are handled. Note that row headers and frozen columns will not be stretched because doing so could easily leave the user unable to access the scrollable data body of the table.

Maybe you are looking for

  • Operation Could Not Be Completed:  Too Many Open...

    I've had this error showing up a lot in the Safari 3.2 and 4.0 beta activity window when loading multiple tabs of pages with many images (usually gallery type pages or blogs with lots of thumbnails). The result is that some images or other elements l

  • Why does iTunes on my iPhone keep rewinding songs after pausing?

    If I pause iTunes on my iPhone by either removing my headphone jack or pressing pause, if I then restart after about an hour later, the music jumps backwards several songs that have just been played. The longer I leave it, the more songs it rewinds.

  • Can't open Gmail in Firefox but Internet Explorer can!

    Though my browser deletes everything before it exits out I didn't take any chance and ran CCleaner and in-spite of this I can't open Gmail. Mozilla says Untrusted Connection! Gmail opens fine on Internet Explorer. There are some other websites as wel

  • DSL Line Disconnections

    Hey guys, new poster here. Recently my interent connection has been playing up somewhat, it's perfectly fine during the day but once it hits about 4 o'clock in the afternoon it periodically disconnects regularly in intervals of 2-15 minutes. I've che

  • Asset tracking software

    Hi, I'm looking for some asset tracking software to monitor and manage around 1,000 Windows machines (various OS) and 500 thin clients.  Being able to report on hardware/software config and metering the devices to prevent unauthorised/unlicensed soft