Graphic moving Excel to a specific location in the Active sheet

Hello

I want to move an Excel chart that is already created, to a specific cell in the worksheet. I am able to move the chart with Shapes.IncrementLeft and these commands, but I want to pass the array to a specified cell. I created a macro to copy / paste the chart to a cell of some. The code is below:

ActiveSheet.ChartObjects ("table 1"). Activate
ActiveChart.ChartArea.Select
ActiveWindow.Visible = False
ActiveWindow.WindowState = xlNormal
ActiveWindow.WindowState = xlMaximized
Range ("A14"). Select
ActiveSheet.ChartObjects ("table 2"). Activate
ActiveChart.Paste

However, I have 2 problems with this in Labview.

The order of 'ActiveSheet.ChartObjects ("table 1"). Activate', I can't implement what I see not the option activate under ChartObjects.

The 2nd issue is that I get an error with the command "ActiveWindow.WindowState is xlNormal." I have attached a .jpg file of the code I use in Labview. Any help appreciated.

Rgds,

lms17


Tags: NI Software

Similar Questions

  • Insert data to a specific location in the listview in blackberry 10 cascades qml?

    I have a listview with groupdatamodel, I need to insert the data into the listview at a specific location

    GroupDataModel is used for an ordered list - AFAIK you can't insert data at arbitrary positions.

    Instead, you must use one of the datamodels unordered (ArrayDataModel / QListDataModel)

  • Place the ini file in a specific location when the application generating

    Hello

    I have a little problem.  I have an ini file that I use to store some settings.  Lets call this app.ini file.  When I build the Application.exe, it puts this file in the data directory.  I was hoping that it would be at a higher level and be located in the same directory as Application.exe is (otherwise it will not read the file correctly.)  Looked at the settings of the Source file in the list of categories in the Properties window for the construction and all the 'Identical to the appellant' Destination, but he did not where I wanted.  I would really like this file to a directory higher when I do my build so that my application to read correctly.  Any suggestions?

    I use this executable then when I do my Installer and the problem just spreads here also, not good.

    One way to solve the problem:

    (1) in the build Properties window, select Destinations and create a new destination. Select the same directory where the exe file will be stored as 'Path of Destination'

    (2) assign this destination in the .ini file.

    Let me know if it works

    Marco

  • Excel to a specific item in the grid

    Hi all
    I have an excel sheet with the values of the table scott.emp and I took a single variable
    IE cell_value for getting the value.
    cell_value: = ole2.get_char_property(cell,'Value');

    |=====================================================
    | EMPNO, ENAME, JOB HIREDATE DEPTNO COMM SAL BISHOP |
    |=====================================================
    | 7369 CLERK 7902 SMITH 12/17/1980 800 20 |
    | 7499 ALLEN SALESMAN 7698 2/20 / 1981 1600 300 30 |
    | 7521 WARD SALESMAN 7698 2/22 / 1981 1250 500 30 |
    ======================================================
    How can I check and set the condition for the value of particular in cell_value as data element
    If cell_value = 7369 so I attribute: blk.emp.text_empno datatype element has the value number.
    If cell_value = smith, then I can attribute: blk.emp.text_ename datatype element is of type varchar,
    If cell_value = clerk then I can attribute: blk.emp.text_job datatype element is of type varchar,
    If cell_value = 7902 so I can attribute: blk.emp.text_mgr datatype element has the value number.
    or any other method is there with ole2

    answer please...

    you make a loop from 1 to 15. As long as you don't have an EXIT inside the loop, it must run 15 ranks.

  • Child panel - how to put it to a specific location in the Parent Panel

    Hello I have a program with main panel what other signs in the form of tabs.

    I need to put the child Panel on the tab panels.

    How can I do this and get a good view of the child Panel only

    on the right panel?

    I'm attaching an image to describe.

    Thank you for your comments

    Meir

    Hey Meir,

    It seems to me you're missinig a very basic concept on the tab control: each tab IS actually a child Panel! In other words, all of the controls that you have on your test panel can be simply loaded on the desired tab, leaving the other unchanged pages.

    You may be missing the scroll bar on the right, which actually isn't is not present on the controls tab, but as far as I can see your interface might be reduced to a single table control placed on a page of tabs with appropriate row headers and colunm.

    In all cases, if you do not strongly want to change your existing code you can use the command (InsertPanelAsTabPage) to add a panel you have previously loaded to the tab control: in this case a current scroll bar is maintained. Keep in mind that this statement actually makes a copy of the original Panel, you need to retrieve the handle of the appropriate tab of address on the page adding control. The original panel can be thrown immediately after it is added to the tab control.

  • How to set the location of the active cursor

    I'm having trouble trying to put the asset "x axis" cursor without interrupting the other parts of the code. I have a graph of waveform and I want the window to be properly windowed to zoom in on the interesting part of my data. I also have cursors that I want this particular part of the processed data. Unfortunately when I try to set the cursor position and the display area of the code window will do either one or the other. I tried to change the order of the scale minimum and maximum x and beginning and end cursor x posts... all that I got is different combinations of window size/cursor positioning. I'm confused. Why the property node addresses some items and not others? How can I get my automatic zoom window and my Cursor for self-standing at the same time? Here is an example of the code...

    Ignore the rose as downstairs. It is not connected to the property node, it just happens to run behind him and it doesn't bother me to keep it there.

    Any help will be greatly appreciated! Thank you!

    Hello

    I'm not so sure... but why not try to use different structures for each process? Try to use highlight for execution see the order of what is happening in your software and then you could determine if you should use a sequence of plate or structure of the event.

  • A link that goes to a specific location on a page?

    I have a link on my site that will lead the Viewer to an article in the Construction of metal buildings news - I was wondering if there was a way for the link open in a specific location in the new page? We want the link to the location on the site where our building is featured. I know how to do it if the link is to a location on the same page as the link... Not sure if it is even possible to do so. Here is the page:http://stateline7.com/final/Recognition/Recognition.html the image and the link is to half way down the page under the business center of Granite Peak.

    If you need to link to a specific page in a PDF document, you can do following the settings shown here:

    http://partners.Adobe.com/public/developer/en/Acrobat/PDFOpenParameters.PDF

  • Is it possible to always open Firefox to a known location on the office and size?

    I have an environment where I opened a number of windows for my application to specific locations on the desktop. The functions 'aid' will be open an instance of the Firefox browser with an appropriate local url. What I want to do is to specify the same initial starting point and the size of the window of the browser at startup.

    This is possible through a configuration option or the command line? Is it possible to 'block' the location information that is saved out of the browser? I tried starting it the browser by specifying '-nnn - nnn width height ' on the command line, but this does not seem to do anything.

    Thank you!

    In this version, it can still work if you use a JavaScript window.open call to specify the position.

  • How to place a file at a specific location

    I need to know how to place an eps graphic in a specific location.  I can put a file but I can't seem to be able to move it.  Is it possible to position it correctly over the action of the place?

    Thank you

    Hi Mario,.

    Take a look at the ImageCatalog.jsx that comes with ID and look for the line:

    myRectangle = myPage.rectangles.add (myDocument.layers.item(-1), defined, undefined, {geometricBounds: [myY1, myX1, myY2, myX2], strokeWeight:0, strokeColor:myDocument.swatches.item("None")});})

    This should help you to get what you need (note geometricBounds: [15,15,59.5,66.5]).

    myDocument var = app.documents.add ();
    {with (myDocument)}
    myPage var = pages [0];
    {with (MyPage)}
    myFrame = pages.item var (0).rectangles.add ({geometricBounds: [15,15,59.5,66.5], strokeWeight:0, strokeColor:myDocument.swatches.item("None")});})
    {with (myFrame)}
    myFile = myFrame.place (File (myFile), false);
    }
    }

    You can also check:

    http://www.jongware.com/idjshelp.html

  • I read the excellent instructions, but cannot locate the green arrow to start the download! I did not accidentally remove the arrow, because he was never

    I went on the Mozilla site to download to my Mac. I read the excellent instructions, but cannot locate the green arrow to start the download! I did not remove accidentally the arrow, as it was never there to be seen. I use Safari and don't have Firefox on my MAC (to my knowledge).

    Thank you

    PS: I clicked on the 'automatically add' and downloaded the file, but when I tried to open it, I get the message "Safari cannot read this file. Cool, huh?

    See how to install Firefox on Mac.

    Open the Firefox disk image file and drag the Firefox program into the Applications folder on your hard drive.
    Do not double-click the Firefox to run from the disk image, but instead, drag it out of the DMG file.

  • Draw the line at the location of the specific angular Tower

    People-

    I have a bmp as shown on the seal and a known angle image.  I need to place a mark / arrow on the circumference of the circle to the specific known angle.

    Is there an automated way to mark the angular location along the circumference knowing the angle with the screw of the Vision?

    (The measure in Vision Assistant tool offers a way to really measure an angle between two lines (I think it's what he does to my playing with it).)  Is there some emanation of which can be used to help here?)

    Thank you

    Don

    Folks - this is proving to be a very reasonable problem to solve and I had the time today to spend on it.

    Here are the basic steps:

    (1) (use IMAQ find circular 2 edge to get describtion of circle with RADIUS and Center (use ID or OD - your preference edge until edge strength is pretty good in both directions)

    (2) calculate the coordinates of the point circumference associated with angle of interest using VI attached (I had adjust the direction which is the reason why I add 180 degrees from the angle of entry)

    (3) use IMAQ Overlay line with coordinates the circumference point and coordinates of the Center

    (4) output power line IMAQ superimpose your vision Image

  • graph of a few blocks after a specific location

    Hi I'm new to view lab and boasts a location on a chart to a number on the xaxis in the waveform graph. I want graphic 2 blocks of data after my desired location how can i go by doing this.

    the location of the original is in time... but not in real time. and I need about 50 milliseconds of graphic data after my desired location, starting point.

    OK, so I have a series of data with multile low point cusps in the waveform graph. I am able to chart he gave as a whole. now I want to focus strictly on the areas at dawn one at a time. and I want graphic 50 milliseconds of data after dawn. and then finally make a FFT data that results. and all of the cusp/w average FFFS together.

    PS. I'm looking for in your vi prefious to see if it might work. thanx

  • Creating a batch file. How to open an Excel doc that is located on a network share?

    batch file that can access a file on a network share

    I'm making a batch file that starts several EXE as an excel spreadsheet that is located on a network share.

    exe start perfectly, however when I try to open the excel document, because it is on a network share, windows tells me that the CMD does not support UNC paths use... y at - there a way around this?

    the command I used was:

    CD "\\server\folder.
    Start "excel document.

    The way around this is to map the network folder to a disc and use the drive letter.
    In your case, it would look like this:

    NET use M: \\server\folder / persistent: no
    M:
    Start "excel document.

    When you are finished, you can unmount the drive:

    C:
    NET use M:/delete

    HTH,
    JW

  • How to get latitude and longitude from a specific location

    Hi, we can get card giving the latitude and longitude. But I need to get the card when I give the specific location, like New York etc.. So how do you get the particular location points. I use the 8820 Simulator in eJDE4.5.

    can someone help me solve this problem.

    Thank you

    There
    integer
    Latitude in decimal degrees x 100,000

    x
    integer
    longitude in decimal degrees x 100,000

    See GPS and BlackBerry Maps Development Guide.pdf

  • Where is the location of the file Outlook.pst in Windows 7, the AppData folder does not appear in the user specific folder?

    original title: where is the location of the Outlook.pst file in Windows 7?

    I want to copy my Outlook.pst to my desktop (Windows XP Pro) data to my laptop.  Outlook displays the outlook.pst file which will be located in the "C:\Users\Specific User\AppData\Local\Microsoft\Outlook" folder on my laptop.  However, when I try to access this folder in Windows Explorer, the AppData folder does not appear in the user specific folder.  I find in my office because Windows XP does not hide it, but he must hide in the Windows 7 operating system on my laptop.  How can I get it so that I can copy the file outlook.pst from my desktop to my laptop?  If the file is hidden, is there an easier way to copy outlook data from one computer to another?

    Chris

    To see AppData, enable the display of hidden files and folders in the Control Panel > Folder Options > view .

Maybe you are looking for