Manipulati​ng the cell size in an Excel spreadshee​t

Problem 1 of 2 (2 is in the same project but a different function so will place in separate post)
Using LV 2013 on Windows 7 with Excel 2010
I have a routine where I insert assorted data into an Excel spreadsheet based on a pre-formatted Excel template. Problem is, when one group of data is placed in the range of cells (ends up being a column because of the way the data array is formatted) that particular column width is reduced.
Because once of the cells automatically formats as the Excel Date / Time format (as desired) the narrower width of the cell makes the value unreadable. (Just like when a real numerical value is longer than the cell is wide, all you see is hash marks)
I verified my column width in the template is where it should be, it definitely is reduced when the data is entered. I also tried using the “Excel Set Cell Dimension.vi” to change the cell width back to what I need but it does not work. Not sure why. When I tried placing the function at the beginning of the routine, I think it created an error and the rest of the report/excel functions failed to work. I didn’t monitor the error wire to confirm this.
My next approach will be to write a macro in the template file and call this at the end to fix the cell width but this seems like the long way around.
Any thoughts on the best way to fix this? Or why the “Excel Set Cell Dimension” function does not work?
Thanks…..
Doug
"My only wish is that I am capable of learning each and every day until my last breath."

Am using report toolkit.   Have not looked inside the vi(s) but will do so to see if I can pull out some functions that I can manipuate to work my issue.
Will report back when I figure something out.  Probably next monday, off work tomorrow,  Whoo Hoo
Thanks......
Doug
"My only wish is that I am capable of learning each and every day until my last breath."

Similar Messages

  • I am in the print mode  but the dimensions I select in the size template do not show up on either the cell size or the photo,  i.e. select 4x6 template lR gives me 3.5x4 8x10 gives me 5.19x3,50 I have to use 8x10 template in order to get 3.5x5.194

    The sizes on the print template do not relate to the size I get in the cell size or on the photo. Template 8x10 gives me 3.5 x5.194 which is on the cell size can't make it any larger. 4X6 template gives me 3.5x4 which is the same as the cell size.  My printer is a new epson 3000 which is set to print 4x6 but LR does not give the 4x6 dimension to the printer just the aforementioned sizes!!!! I have tried everything to get it to print properly to no avail.   The photo system that came with the computer an iMac 27" pro 2013  with yosemite as the os.works fine with he printer!  You just cannot do much other than print with it
    Anybody have any idea what happened?  It used to work fine ____about a week and a half ago
    HELP
    len

    Hi,
    I tried the example and got some weird error messages as follows:
    ********* error messages*********
    ShowComponent.java:90: cannot resolve symbol
    symbol : method getName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    { String plafName = plafs.getName();
    ^
    ShowComponent.java:91: cannot resolve symbol
    symbol : method getClassName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    final String plafClassName = plafs.getClassName();
    ^
    ShowComponent.java:139: cannot resolve symbol
    symbol : method indexOf (char)
    location: class java.lang.String[]
    int equalsPos = args.indexOf('=');
    ^
    ShowComponent.java:143: cannot resolve symbol
    symbol : method forName (java.lang.String[])
    location: class java.lang.Class
    Class componentClass = Class.forName(args);
    ^
    ShowComponent.java:161: cannot resolve symbol
    symbol : method substring (int,int)
    location: class java.lang.String[]
    String name = args.substring(0, equalsPos); //property name
    ^
    ShowComponent.java:162: cannot resolve symbol
    symbol : method substring (int)
    location: class java.lang.String[]
    String value = args.substring(equalsPos+1); //property value
    ^
    6 errors.
    *****end of error messages*****
    I use jdk1.3 and Win2000. Can anybody tell me how to delete above error messages?
    Thanks a lot.
    Li

  • How to set the cell size in a JFrame

    Hello. Is there any way of setting the cell size in a JFrame. The reason why I want to set the cell size is that I want to be sure of their location that when I am placing components on the JFrame. So is there any way of setting the cell size beforehand. Also for the following code.
    JFrame frame = new JFrame("Window");
    frame.setSize(100,100);is the size 100 by 100 is he size of the cell?

    smithbrian wrote:
    When I am placing a component on the grid I want to be sure the component is exactly where I place it. In order to do that I would need to know what is the size of the gird and how to change the size of the gird in the JFrame.What grid?? You're assuming that we know much more about your program than we actually do. We actually know zip. Please read this help site which will help you to avoid similar errors in posting questions here. It has helped me in the past: [smart questions|http://www.catb.org/~esr/faqs/smart-questions.html]

  • How to supress the cell size in Discoverer 4i

    Hi,
    I am trying to supress that cell size is less than 5 by using Discoverer 4i. Could someone tell me if the Discoverer 4i has the function and how to do it?
    Thank you for your time!
    Cat

    smithbrian wrote:
    When I am placing a component on the grid I want to be sure the component is exactly where I place it. In order to do that I would need to know what is the size of the gird and how to change the size of the gird in the JFrame.What grid?? You're assuming that we know much more about your program than we actually do. We actually know zip. Please read this help site which will help you to avoid similar errors in posting questions here. It has helped me in the past: [smart questions|http://www.catb.org/~esr/faqs/smart-questions.html]

  • In the cell size (print tab) it's necessary to add a switch button to change width with height and vice versa.

    like in cut tools in photoshop it's necessary to implement this simple button.

    Ok.
    I use the lightroom print module to print several images on a paper roll. When i add cells of certain measures i can simply drag the pictures in the cells and go on. To optimize the space sometimes i need to rotate the cells.  Yes, i can drag an image in a cell for example AxB and then click rotate on the cell to let it be BxA. But this is already when you drag the image in the cell.
    Sometimes i just enter the width and height in the opposite way and i have to click again on the custom cell windows and rewrite it.
    I need the button inside the custom cell window.

  • How to set the cell size in grid layout where each cell is a panel

    Hi,
    I am using a grid layout where each cell is a panel. Here I want to
    set size of each panel to be equal irrespective of any. But it is not obliging the setSize().
    no of row in grid - 4
    no of columns - 4
    each cell is a panel. each panel has a label.
    panel.setSize(parent.getWidth(), parent.getWidth()/4); // not working. Size is adjusting to the length of the label.
    I want to force the size of the panel to our preferred size.
    Note: In swing we can use JPanel.setPreferredSize(). Unfortunately I cannot use Swing components. Requirement is awt only.
    Any help in this is highly appreciated.
    Thanks
    Kishore

    I observed it is same behavior with gridbag layout. Infact it is gridbag layout only with 4 cells, where first cell should be of constant width (it is base for other cell widths) and other cells are variable (some integer*base width of first cell). I want to set the size of first cell width to be constant.
    Though it is redundant I once again say that it works perfect with setPreferredSize of JComponent.
    But I should not use any swing component/api. This is sytem requirement.
    Any help is appreciated.
    Thanks
    Kishore

  • Problem with Cell size in Excel output of XML report

    Dear all,
    I am facing a problem with cell size when i run my XML report in Excel output. I found that it imitates the cell size of whatever i gave in the RTF. I cannot increase the cell size in RTF as my report contains 60 columns and max width of MS Word table is 22 inches.
    Can any one suggest a way of doing this which shows full data in Excel sheet depending on the column data size with out any word wrap.
    Thanks
    RAJ

    Hi ,
    You can try with
    <xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute>
    may be helpful to you
    Thanks,
    Ananth
    http://bintelligencegroup.wordpress.com/

  • Excel output: Cell Size not adequate

    Hi all,
    I am designing an XML Report whose default output format is excel.
    To one field, I am assigning a long text. When I run the report and generate excel output, the text is not shown fully. I have to manually increase the column size in excel to see the entire text
    Is there some setting in RTF such that I can force the column to expand to accommodate entire string at all times?
    Thanks,
    Rahul

    Hi,
    I am using 10.1.3.4.1 BI Publisher. When I upload my .rtf template in Backoffice 13.0.1, the cell sizes get adjusted in a random manner. The size doesn't remain same in the Back office application from what I have created in .rtf temlpate. How can I fix the cell size in BI publisher so that it doesn't get auto adjusted in BackOffice application.
    Please help to resolve this issue. Any suggestion is appreciated.
    Thanks & Regards
    Quest

  • How do you format cell size in numbers for multiple cells at the same time?

    How do you format the cell size of multiple cells at once in numbers?

    select the cells you want to format by clicking at the top-left most cell, then shift click the bottom-right most cell.
    Then open the inspector by selecting the menu item "View > Show Inspector", then click the table inspector segment:
    now use the row height and column width fields to adjust as needed.
    You can also select multiple rows and columns by clicking in an active tables row/column header, then dragging to select rows (or column), then hover the cursor on the line the separates rows (or columns) until the cursor changes to a bar with arrows, then click, hold, and drag as needed.

  • How Do I Open The Excel Spreadshee​t And Modify The Cell Data

    How can I change the cell content in specific excel spreadsheet with ActiveX control? I am using LabVIEW7.1

     you can open the excel file using Active X . The procedur to open the excel file, will get in the examples. There is an ready made Vi. for that.
    Then select the properties Cell in active X, and you can change the cell data by doing some modification in that vi. i hope it will help you.

  • CFSpreadSheet,  Any way to format Cell Size

    I am using CFSpreadsheet(write) to create an Excel file.  Using SPREADSHEETFORMATROW, I didn't see any attributes to set the cell size(Length or width).  Any way to format the cell size for the entire file.
    Thanks

    Wow.  I had a look at this thinking "well surely it's just a matter of... well... OK that doesn't work, but one must be able to... or.. aha!... no.  Damn".  So probably much the same investigation you did.
    I'm pretty sure CF's implementation of XLS support is based on POI, and POI has a setColumnWith() method, but the object that CF exposes as a worksheet is not actually a POI object but some CF wrapper of it, so the method doesn't work.
    If it is as it seems, and CF doesn't support this sort of thing... wow, what a fvck up.  Setting column width is not exactly an edge case!
    Hopefully we're both wrong.
    Maybe ignore CF and use POI for this directly?
    Adam

  • How do I limit the cells in a data table so opp can't "Tab" off?

    Is there any way of doing this without creating an event structure with quite a bit of code ? ...My table size is 4 X 16. I've concidered invalidating "Tab" & "CR" but would like to leave them valid.

    You can do it by setting the table to be a finite size (NumCols and NumRows property), and removing the horizontal and vertical scroll bars. So that if the table is currently in key focus and the operator tab's through the different cells, once reaching the last cell of the cell size restricted table itll loop back to cell (0,0).
    I have attached a vi to show this.....Hope that helps....
    Attachments:
    TableRestrictedSize.vi ‏23 KB

  • Change cell size in book module

    I would like to change the cell size in the book module, not altering the cell padding which just adjusts the size of the photo within the cell, I want to edit the actual cell.  Is this possible?

    I believe that Cell Size is fixed for any of the template pages in LR.
    However if you choose the "Full Page" template, you can unlink the "padding" sliders to size and position a cell where you wish, along with zooming the image size. But limited to only one image on the page!

  • Printing.  My prints are not printing at the proper size.  If I designate 5x7 it prints at something around 4x3.  I have set all the parameters.

    My prints are not printing at the proper size.  If I designate 5x7 it prints at something around 4x3.  I have set all the parameters.

    When you saye a you have set all the parameters, does that include the cell size in the print module? Are you printing on 5 x 7 paper? And, if you are, have you set that paper size in the page setup?

  • Paper size and Cell size don't match LR4

    Hi I have a prob with the Paper size and the Cell Size not matchng in LR4 using a Sony UP-DR150 printer.
    I'm running on Windows home premium 64bit,
    i have installed the Sony 64 bit printer driver.
    When i print the photo, it prints to the size 4.31 x 3.12 on the 5x7 paper.
    can anyone help?

    Thank you Janelle, see below! worked like a charme! not sure How I missed that? guess  I was  making it more complicated then it should be. I also ended up uninstalling and re-installing the printer driver.
    But your steps not only got where where I needed to be but even made the print on site option even better now that I can control all 4 side of photo. winstonfoto.com . this give me more room inside photo sleve to fill frame with subjects.
    Thanks again. Allen LR rocks!

Maybe you are looking for