X,Y axes scale change in excel

Hi,
In my VI i am using "set graph scale in excel" function to change the x,y axes but they are not getting changed.
I want to manually feed the min,max  values for x,y axes so that the data to be inserted into the graph should appear according to the x, y axes.
How can i do this?
For clarification i am attaching my VI "Graph_Decorations"
Attachments:
Graph_Decorations.vi ‏33 KB

I like to use ActiveX directly for this time of action.
See picture of code (part of a much bigger vi).
The text (gray box) is from the Excel macro editor.
I then just translate that into LabView ActiveX code.
Attachments:
Set_Excel_Graph_limits.PNG ‏26 KB

Similar Messages

  • Changes in Excel cannot be saved when open from SharePoint.

    Hi,
    I use SharePoint to access my documents library. When I open an Excel spreadsheet and do some changes, save the changes and everything seems to be fine. I close the Excel file and open it again. Surprise! my changes are gone. I repeated the same action many
    times but I got the same result, no changes saved. I did not get any error message.
    There is no versioning and not check out requirement in the Library settings. I do use IE v9.
    I'll appreciate any help. 
    Regards
    //Ashraf

    Hi Ashraf,
    Are you opening that Excel file to make changes in Excel client application or in browser (Excel Web App)? By your question it seems that you are using a browser to make changes and saving the excel file, since you mention you are using IE 9.
    If that is the case then please execute the below steps and recheck.
    1. Clean cookies in your IE 9 browser.
    2. Use other browsers to open the Excel file in Excel Web App and check if same issue occurs.
    3. If you are having only Internet Explorer(IE) on your system, you can
    reset IE.
    4. Try to upload a new document and make changes again to see if the same issue occurs.
    Please remember to click 'Mark as Answer' if the reply answers your query or 'Upvote' if it helps you.

  • Word Links not updating when row number changes in excel

    Hi,
    I have a huge excel file with employee name,code,dob etc as fields.I linked it to word documents using paste special and macros.Everything works fine and word also updates with changes in excel file, but problem arises when in excel , data is added in the
    middle rather than at the end of the file. This changes the row numbers of all the employees.Hence when I  open corresponding word document, some one else's details open. So now i have to edit links in word...office->prepare->edit links, Here i
    have an option called ITEM IN FILES... this is where the problem occurs...It requires mentioning the row no of the corresponding pasted link...but when i change data in excel and row no changes...this should be automatically detected by Word and row number
    should be updated there.Please help me find a way to resolve this.This is what it looks like....
     Data for VC!R1C2:R2C13
    I want R1 and R2 to change automatically if I change rows in excel file.
    Thank you

    Instead of specifying a cell range in the LINK field, name the range in Excel, then use the range name in the LINK field.
    For example, instead of:
    VC!R1C2:R2C13
    you might have:
    VC!MyRange
    in Word.
    That way, the LINK will point to the named range, regardless of how many rows and/or columns are added/deleted before it. Furthermore, if you expand or contract the range (e.g. by adding/deleting columns between the first & last column), the
    named range and, hence the linked range, will likewise expand/contract.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Changes to Excel files are not getting updated

    File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected. File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected.

    Hi,
    According to your post, my understanding is that changes to Excel files are not getting updated.
    I recommend to configure Excel Services data refresh by using Secure Store and an external Office Data Connection (ODC) file.
    For more information, you can refe to:
    Configure Excel Services data refresh by using external data connections in SharePoint Server 2013
    If you use PowerPivot, you can refer to:
    Refreshing PowerPivot Data in SharePoint 2013
    If you use Office Web Apps, you can use New-SPWOPISuppressionSetting -extension xlsx -action view to refresh data.
    You can refer to:
    PowerPivot for SharePoint - Browser Refresh Fails (Data Refresh not supported in Office Web Apps)
    In addition, here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/office/en-US/2c4009f3-62bc-4af0-9e16-e40e9d418e3b/user-changes-to-sharepoint-documents-lost
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Change Word & Excel Settings for ALL FUTURE USERS

    We have a computer lab in which each student has his/her own login.  They use Word and Excel 2010 in the classroom.  There are several settings that the teacher likes to set for his students, but currently he must log in to all 120 of the student
    accounts and set the settings.  A summary of those settings is:
    Change default font size to 12
    Change paragraph to single spacing with no space after text
    Add items to the quick launch bar at the top of the screen
    I'm working on setting up a new computer for imaging for him.  Is there any way for me to make these setting changes globally, so that each student gets the correct settings when they log on for the first time?

    Hi,
    For Word, the custom font is customized via the Normal.dotm template, located at %APPDATA%\Microsoft\Templates. Navigate to this location, right click on the template and choose Open. On the Home tab, in the Font group select the font of your choice, then
    right click on the editing area, click Paragraph and select single spacing and other settings you need to configure, click OK then save the file.
    For Excel, the font is customized via a registry key:
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Options
    Name: Font
    Type: REG_SZ
    Value: Arial,12
    After we define the Word template and changed the Excel Font registry key, we need to deploy it globally via an MSP file:
    1. Create a customization .msp file using the Office Customization Tool: drag and drop the
    setup.exe of the Office installation source in the Run box, and pass it the switch
    /admin
    2. This will open OCT (Office Customization Tool)
    3. Select the first option: Create a new Setup customization file for the following product and click OK
    4. We are now ready to add all our files into then MSP
    5. Under Additional Content – click Add Files to add here the template for Word (Normal.dotm). In the
    File Destination Path dialog box, in the Destination path on the user's computer list, select
    %AppData\Microsoft\Templates, and then click OK
    6. Under Additional Content - click Remove files, and then click
    Add. In the File Path dialog box, under
    Path and file name of file to be deleted, enter %AppData%\Microsoft\Templates\Normal.dotm, and then click
    OK. (This will remove any Normal.dotm file from the users’ computers that is from a previous installation of Word.)
    7. In the console tree, click Add registry entries, and then click
    Add. Follow the path I mentioned for Excel: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Options, type in the information and click
    OK to save.
    8. In the console tree, click Remove registry entries, and then click
    Add. Type in the registry key information above and click
    OK to save. This will remove the previous font setting for Excel.
    We have now finished creating the customization file. You can save it from
    File – Save as – Name.msp
    We are now ready to create the start-up script and add it to the GPO that will deploy these settings to the whole organization.
    To create the .bat file that will be used in the start-up script, please open Notepad and use the following text:
    setlocal
    reg query HKEY_CLASSES_ROOT\Installer\Patches\9EA4D5478DD17EE45B1A1E670AC471BC
    if %errorlevel%==1 (goto Patches) else (goto End)
    REM If 1
    returned, the patch is not installed. Install the patch here.
    :Patches
    "%windir%\system32\msiexec.exe" /p \\server\shared_folder\Name.msp /qn
    REM If 0 or other was returned, the patch is already installed. Do nothing.
    :End
    Endlocal
    Please NOTE that you need to change the
    \\server\shared_folder to point to the correct path and MSP file in your environment.
    Save the Notepad file as Name.bat in the same shared location (\\server\shared_folder)
    On the Domain Controller create a new Policy and assign it to the desired
    Organizational Unit. Edit the policy and go under:
    User Configuration – Windows Settings –
    Scripts (Logon/Logoff)
    Double click Logon – click Add
    Under Script name please type the location and the name of the .bat file we created earlier (please use UNC path and not a drive letter)
    For your reference:
    Office 2010 – Deploying custom fonts across all applications
    http://blogs.technet.com/b/emeaoffice/archive/2012/12/12/office-2010-deploying-custom-fonts-across-all-applications.aspx
    Set the default font and page margins in Office Word 2007 for a group of users(Also works for Word 2010)
    http://technet.microsoft.com/en-us/library/dd631810(office.12).aspx
    By the quick launch bar, do you mean the Quick Access Toolbar? If so, when you customize the it in a particular application, Office 2010 creates an *.officeUI file for that application that contains the customization XML. With this understanding, you can
    do one of the following:
    •Modify an existing *.officeUI file with the desired customizations by updating the XML code.
    •Create the desired customizations by using the Customization dialog in the Microsoft Office application, apply the customizations, and then browse to the *.officeUI file.
    Please note we need to customize the Quick Access Toolbar in each application.
    Detailed steps to deploy the Quick Access Toolbar can be found in this MSDN article below:
    http://msdn.microsoft.com/en-us/library/ee704589(office.14).aspx
    I hope the information is helpful.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • VBA command changed in Excel 2010?

    We recently upgraded to Excel 2010, and a macro that always worked perfectly in 2007 is behaving strangely now.
    I use the following command to insert a picture into Microsoft Excel:
    Set pic = ActiveSheet.Pictures.Insert("C:\Pictures\Example.tif")
    (Sorry for not inserting the above in a code block, but my web browser kept timing out while waiting for it.)
    That VBA command used to work flawlessly, but ever since I upgraded to Office 2010 and email my new workbook with a picture added via a macro to anybody else
    on site, the picture is gone with this error message in its place:
    "The linked image cannot be displayed. The file may have been moved, renamed, or deleted. Verify that the link points to the correct file and location."
    What changed in Excel 2010 to cause my VBA script to insert a LINK to a picture instead of embedding the actual picture?  Does anybody with a similar
    macro have this problem?

    Hey G North,
    I had added a workaround to my code, but your one (1) line offers a better solution. 
    And you're right . . . my original code did include the top, left, height, and width parameters, and this was the workaround I came up with:
    Dim pic As Picture, rng As Range
    Set pic = ActiveSheet.Pictures.Insert("C:\Pictures\Example.tif")
    Set rng = ActiveWindow.RangeSelection
    With pic
    .Top = ActiveCell.Top
    .Left = ActiveCell.Left
    .ShapeRange.LockAspectRatio = msoFalse
    Resize the picture's Height and Width
    to match the Current Range.
    .ShapeRange.Height = rng.RowHeight
    .ShapeRange.Width = rng.Width
    .Placement = xlMoveAndSize
    .Cut
    End With
    ActiveSheet.Pictures.Paste.Select
    You'll notice that after I inserted my picture and resized it to fit the active range, I CUT it and then PASTED it in that same range as a PICTURE.
    But again, your single line of code is preferable.
    Thanks again!

  • Why does Apple Works change my Excel document to Apple Documents?

    Why does Apple Works change my Excel documents to Apple Documents?

    It's a nuisance when other users cannot open the file, any ideas?

  • Modify range of x-scale value in excel

    Hi
    I'm stuck once more with this excel-activeX connection.
    I'd like to modify the range of the values that are chosen for the x-scale of a graph.
    How can I do that. 
    I know how to change the format and so on but couldn't find the data range.
    Thanks for an help
    Yves

    Hi Yves,
    I reccomend that you look at following link:
    From Excel to LabVIEW with style
    https://decibel.ni.com/content/docs/DOC-13666
    Best regards
    Matijas

  • Changes to Excel link sources are not saved after closing the workbook

    We've had several instances over the last few weeks where users are updating the source files for various links within a spreadsheet, saving their changes and closing the file. Then, next time another user goes into the file, the links have reverted back
    to their previous values, as if the first user never went in and changed them.
    Anyone ever hear of such a thing? The user changing the links is running Excel 2013. The user opening the file for review is using Excel 2010. Could there be some issue there?
    Shaun

    Hi,
    According to your description, let us more test to narrow down this issue.
    Firstly, since the three users using different pc to open these file, I recommend the third user logon the other two PC with Excel 2013 to test.
    If third user could see the well file with Excel 2013, this issue is more relate to Excel 2010 or the third PC itself.
    Secondly, we could use the forth pc with Excel 2010 to test. If third user could see the well file in the forth pc with Excel 2010.
    I'd better check the third PC itself. There are some third party add-ins or program will caused it. Try following methods:
    Install the Windows and Office 2010 update patches.
    Start with Excel safe mode.
    If it still not work well with Excel 2010, there might be some compatibility issue between Excel 2010 and Excel 2013. Please try to run
    the Compatibility Checker for 2010
    Hope it's helpful.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Changes in Excel cannot be saved when open from SharePoint 2010

    Hi,
    I use SharePoint 2010 to access my documents library. When I open an Excel spreadsheet and do some changes, save the changes and everything seems to be fine. I close the Excel file and open it again. Surprise! my changes are gone and even though I did this
    many times, I got the same result.
    There is no versioning and not check out requirement in the Library settings. I do use IE v9.
    I'll appreciate any help. 
    Regards
    //Ashraf

    Hi Ashraf,
    This forum is for Team Foundation Server, I'd like to know whether you use TFS and if you have tried on other files. If you don't use TFS, you can open a new thread in SharePoint forum for a better response.
    If you have TFS integrate with SharePoint, then you can use a newer version of IE to have a try, or check on other machines. Also confirm whether your account has the permission to edit the file. Elaborate more details about your scenario if the problem
    persists.
    Best regards,

  • How to update a custom list when there is a changes in excel sheet uploaded in document library

     
    I have created a document library in which m uploading a excel sheet with values in it and i have created a custom list with same no.of.rows and columns in the excel sheet given the same name of columns. Now i have to make sure that whatever changes i do
    in the excel sheet should automatically gets updated in custom list in sharepoint

    You'll need to create an event receiver for when you add/update a document on the source library (http://msdn.microsoft.com/en-us/library/office/gg749858(v=office.14).aspx)
    Then, with code open the excel file and count the rows. You can use the OpenXmlSDK to do that (http://www.microsoft.com/en-us/download/details.aspx?id=5124)
    Good luck ;)

  • Office Integration changes to Excel won't save

    in the meantime I've rougly found a solution. I'll post it as soon as ready...
    I'm using office integration to upload a multiple sheet Excel-file. After succesful processing of the input file i want to write back the created serviceordernumber to the Excel file.
              gs_ranges-name = 'rangechange'. "(128) type c,
              gs_ranges-rows = '26'." (4) type c,
              gs_ranges-columns = '4'. "(4) type c,
              gs_ranges-code = 3."(1) type c,
              append gs_ranges to gt_ranges.
    *          CLEAR gt_ranges.
              clear gf_retcode.
              clear gt_rangesdef.
              break developer.
              call method iref_spreadsheet->set_ranges_data
                exporting
    *              no_flush  = ' '
                  ranges    = gt_ranges
                  contents  = gt_data
    *              updating  = -1
                  rangesdef = gt_rangesdef
                importing
                  error     = iref_error
                  retcode   = gf_retcode.
              if iref_error->has_failed = 'X'.
                perform iref_error_2_logmsg.
              endif.
    When i "re-read" the file with
    call method iref_spreadsheet->get_ranges_data
       exporting
    *        no_flush  = ' '
         all       = ' '
    *        updating  = -1
         rangesdef = gt_rangesdef
       importing
         contents  = gt_data
         error     = iref_error
    *        retcode   =
       changing
         ranges    = gt_ranges.
        if iref_error->has_failed = 'X'.
          perform iref_error_2_logmsg.
    *      gfl_openerror = 'X'.
          return.
    *      call method iref_error->raise_message
    *        exporting
    *          type = 'E'.
        endif.
    i see the changes made, however after that i close the document with
    clear: gf_retcode, gf_doc_has_changed.
      call method iref_document->close_document
        exporting
         do_save     = gfl_do_save
    *    no_flush    = ' '
         importing
           error       = iref_error
           has_changed = gf_doc_has_changed
           retcode     = gf_retcode.
      if iref_error->has_failed = 'X'.
        perform iref_error_2_logmsg.
    *    CALL METHOD iref_error->raise_message
    *      EXPORTING
    *        type = 'I'.
      endif.
    and here the retcode is 'OK' nut the gf_doc_has_changed = 1.
    When i open the file in Excel i see that changes are not being saved.
    Any suggestion on how to actually save data?

    After much trial and error, it seems turning off WiFi fixed the problem. As long as I was connected to WiFi, my settings would not save. Once I turned off WiFi, my settings saved. My battery percentage indicator would not actually show up until I rebooted my phone.
    All is well now except for the fact that all of my notes suddenly disappeared. I guess I'll have to restore to get them back

  • Roles for disabeling structure changes in excel

    Hello togehter,
    I have got a excel sheet which I can open by the "Analyzer-AddIn."
    If the users have to change some data, there is an embedded save-button.
    But if they use the normal excel save button, it could be that the excell will be destroyed.
    And now my question,
    is it possible to disable structure changes by clicking the normal save button in an excel sheet via (creating) SAP-Roles? Or is it only possible by chaning VB-Code?
    Thanks in advance!
    Greetings,
    Peter

    Hi Peter,
    if you want to disable the standard "save" excel button you should use some custom VB code. Afterwards, you can include this VB code in your reports using the workbook functionality.
    Regards,
    Theodoros

  • Grab changes to Excel in a WD view

    Hi Guys,
    I am looking for a way to use the Office Plug - in ( in this case, Excel) to select changes and save them in a context node. How is the xstring attribute in the WD - context written to after the user has pressed "Save" in the Excel plug - in?  What method in IF_IOS_SPREADSHEET must be called to detect changes in the open XLS document in the Web Dynpro view? It is not entirely clear from the sample WD Component IOS_TEST_SPREADSHEET_MS in package SIOS how this is done
    Regards,
    Marc

    The attribute in the context had to be evaluated correctly.

  • Need Advice , how to track BPC  changes  for excel templates

    Hello All,
            We got to the point  where we are constantly changing reports templates . We have been asking ourselves a   questions that how can we track all the changes because there is no version control for BPC . We have 3 Environmentsu2019 DEV,QA and PRD .  We are planning to maintain sheet in which we can track who,when,app changes . We have another group who will update each BPC environment (DEV,QA&PROD) with the change/modify/new  excel template .
    What I would like to know how people out there tracing changes. What are the different ways they are making sure that all their environments are in sync.
    BTW going forward we are planning to use u201CTortoiseSVNu201D.
    Please let me know your experiences, tips and suggestions .
    Thanks,
    Saquib Khan

    Any body else?
    -Saquib

Maybe you are looking for