Excel will not close using activeX

I have been reading a ton of the responses on the forums regarding this issue and I seem to have everything correct (obviously not since I cant get it to work).  I cant find the reference that is causing excel.exe to remain in memory after I run the vi.
I have used the highlight execution and there are no errors passed through anywhere, so it is going through all the closes and the application quit.
Can someone see if I made a mistake somewhere.
Here is a description of the open and closes:
Open Application ref
Open workboos
open _workbook
Close Workbooks
Open Worksheet
open range
open rows
open columns
close columns
close rows
close range
close worksheet
close _workbook
application quit
close application
thanks
Kenny
Kenny
Attachments:
excel used range.vi ‏66 KB

Hello Kenny,
It looks like you have definately closed all of the references and used the quit method.  However, you normally need to close references in the reverse order that you close them.  You seem to close a reference to the workbooks before closing the reference to more specific parts of the spread sheet.  Try moving the close reference to be in the correct order.  This knowledgebase has a small example to start testing.
http://digital.ni.com/public.nsf/websearch/D9B5637D23FD98D2862570A100638EF3?OpenDocument
Also make sure that you call the methods that will explicitely close the workbooks and worksheets.
Steven T.

Similar Messages

  • ITunes will uses 100% cpu and will not close in OSX Lion

    When I start up iTunes, after a few minutes, the fan kicks on and Activity Monitor shows that it is using 100% CPU. The fan kicks up and the MBP gets warm. I have to force close to get it to shut down. iTunes match is constantly running, so maybe that has something to do with it?
    I'm not running it in Mini Player mode or anything like that, so I'm not sure what's causing the problem. Any thoughts on how to diagnose it?

    I also have this problem which has been getting worse with recent successive updates of Firefox. As a long-time user and advocate, I am about ready to look for an alternative browser. Firefox will not close and exit properly, requiring direct cancellation through Task Manager; starts up very slowly (often 1 to 2 minutes); and frequently locks up the CPU with 100% of cycles while doing NOTHING; offers to restart crashed sessions, but cannot recover and reload those sessions; will not operate correctly while any other application accesses the internet, like uTorrent. Firefox is set to delete cookies, etc. whenever the session closes, sqlite database is vacuumed regularly, CCleaner regularly wipes remaining accretions, and disk is defragged. Currently running 3.5.5 but will NOT upgrade until this problem is solved since later builds report the same problems. I know several other users who have experienced the same problem and I can no longer automatically recommend Firefox to users and clients. Is anybody paying any attention to this problem? What is being done to address this fault? Why is there no response to the original poster? Is this really a support forum or just a way to preoccupy and distract the users who suffer this malfunction? Wireless 54Mbps connection. No Adobe Flash, QuickTime, MS Silverlight, etc. installed on this machine. Firefox 3.5.5 with the following add-ons:
    Aardvark 3.0
    Adblock Plus 1.2.1
    Adblock Plus: Element Hiding Helper 1.0.6
    Free Download Manager plugin 1.3.4
    Highlighter 0.1.4
    MR Tech Toolkit 6.0.4
    repagination 2006.4.5.1
    Save Complete 1.0.1
    Session Manager 0.6.8.3
    Tab Mix Plus 0.3.8.4
    Unhide Passwords 1.2.5.1
    User Agent Switcher 0.7.2
    Thanks for any help or suggestions.

  • On my canon powershot A3300IS the lense is stuck in the extended position and will not close

    I have a canon powershot A3300 IS  the lense is stuck in the extended position and will not close. How can I fix this myself?

    Forneypamela,
    Please remove the battery from the camera for a few minutes.  Then, put the battery back in the camera and power it on again.  If the lens is still stuck in the extended position, the camera is going to need service.  I apologize for any inconvenience this may cause.
    To start your repair process, you'll need to complete a Repair Request on our website.
    If the camera is more than a year old, you may participate in the Canon Loyalty Program instead.  The Canon Loyalty Program option allows you to replace your current camera for a discounted fee, plus shipping.  The unit offered through this program carries a 90 day warranty.  The original non-functioning camera would then be returned to Canon USA for recycling using a prepaid shipping label that would be provided.
    If you would like to take part in this option, please call our Sales Department at (800) OK CANON (800-652-2666) seven days a week, 8am to Midnight.  Let them know you have been working with online support and the Canon Loyalty Program was offered.  Be sure to have your serial number for your camera at the time of your call.
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I updated our iPad a week ago to 8.1 (12B410) and since then most apps will not close down with the 4 fingers swiping in.

    I updated our iPad a week ago to 8.1 (12B410) and since then most apps will not close down with the 4 fingers swiping in. The only way to close them down is to hit the middle bottom button twice then swipe upwards. Is anyone else having this problem and how do I fix it?

    This has been happening to me as well with an iPad 3 running iOS 8.1. This is what I do and it works for me. Toggle the setting for Multitasking Gestures off and then on again, Settings>General>Multitasking Gestures>Off. Then toggle it on again.
    I have to repeat the sequence from time to time as I have not found a permanent fix. I think that iOS 8 is by far the buggiest iOS release that I have used since I have owned an iOS device.

  • My Safari Windows will not close

    My safari windows will not close. I can use the internet fine, but safari will not allow me to close or minimize the window. This is also stopping me from shutting down my computer without removing the battery. Should I take it in to get repaired, or is it a setting on my computer that got turned on? Is anyone else having the same problem? Thank you! - Kristen

    Hi Kristen,
    Welcome to Apple Discussions
    Which version of OS X are you using?
    For possible relief, go to your Finder. There, navigate to your User Account's Library>Preferences Folder. You'll see a file com.apple.safari.plist. Move it to the desktop and restart Safari.
    Please let me know if that changes anything.

  • Safari will not close multiple windows

    In the last month my safari will not close multiple pages with the red button at the top of the screen. When viewing several pages in order to close out the window I have to totally close out of Safari. Please help... this is really a pain and very time intensive.

    Hi Beach Lover, fellow CAian, Welcome to Apple's Users Help Users Forums.
    My only guess on the Red Dot not working would be to reinstall the 10.4.5 Combo Updater or install if you used Software Update to get to 10.4.5. You might wait a bit on this for others to chime if the work around below works for you. Combo can clean up some glitches in your current system.
    [OT] Use the Combo is pretty much "standard advice" by the Maestros / Gurus in the forums I visit.
    A possible work around: Try command W. Does that work.
    It might not. My WAG is that maybe they both invoke the same script.
    Good Luck, JP

  • The addons window will not close, and comes up with firefox

    I recently re-installed java, and when i opened firefox the add-ons window opened with it. the Add-ons window will not close without closing firefox, and turning the pc off, using ctr+alt+del wont work. any assistant will be greatly appreciated

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also "Corrupt extension files":
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions

  • Safari will not close

    Safari will not close even when I use command+Q. I cannot restart my computer because Safari is still open

    Control-click its Dock icon or press Option, Command, and Escape, and choose Force Quit.
    (54934)

  • When I have opened newstand it will not close like other apps. I have to shutdown the iPad completely why

    When I have opened newstand it will not close like other apps. I have to shutdown the iPad completely why?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.  Also, if you have IOS-7, read this.

  • Message Popup will not close

    Running LabWindows/CVi 2013 SP1.
    I have a Message Popup window that will not close when the "OK" button is clicked.
    John O'C
    Staff Test Systems Engineer
    Woodward, Inc.
    Skokie, Illinois, USA
    "Life is not a journey to the grave with the intention of arriving safely
    in a pretty and well preserved body, but rather to skid in broadside,
    thoroughly used up, totally worn out, and loudly proclaiming...
    Wow...What a Ride!"
    Solved!
    Go to Solution.

    Hi Eren,
    Thank you for your response. I do not have the function call that calls the Message Popup in a loop. Nor do I have the function call to the Message Popup in a loop. I do, however call the calling function from a panel callback under "EVENT_GOT_FOCUS". Will that cause the same issue as if I had put the call in a loop?
    John
    John O'C
    Staff Test Systems Engineer
    Woodward, Inc.
    Skokie, Illinois, USA
    "Life is not a journey to the grave with the intention of arriving safely
    in a pretty and well preserved body, but rather to skid in broadside,
    thoroughly used up, totally worn out, and loudly proclaiming...
    Wow...What a Ride!"

  • Program will not close

    Need help I have one program that I cannot get to close and I have one website that will not close. Can someone tell me what to do, please? Thanks!

    Hey berthatx,
    Thanks for the question. I understand that you are experiencing issues with a few applications on your MacBook Pro. Let’s try to force quit these:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/HT3411
    Thanks,
    Matt M.

  • Itunes will not close down,

    My i tunes will not close down even using force quit,anybody got any ideas please.

    Go to Activity Monitor, search for "itunes," and quit every process related to iTunes.

  • Will not close web page even when I close Firefox

    Web pages will not close, there is not red or black x to close on website. Have to use back button and no matter how many times I click it, it will not remove it. So I close Firefox. Next day when I open it there is the web page still there. HELP!

    * Websites remembering you and automatically log you in is stored in a cookie.
    * You need an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep that cookie, especially for secure websites and if you let cookies expire when Firefox closes
    * Make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    See also http://kb.mozillazine.org/Cookies

  • Adobe 10.1.7 will not close in task manager after you exit the program. High cpu

    Hello,
    Updated to 10.1.7 and noticed that when you close the program an instance of acrobat stays open in task manager with high 50%+ cpu usage. Will not close at all unless you end task. if you open adobe again a new instance opens again consuming more cpu and cripples the machine with high cpu. This is on win 8 64bit machine. Had the previous release 10.1.6 working for some time on the same machine with no issues.
    Thank you in advance

    Identical issue with Acrobat XI Pro on Windows 8 Pro 64 bit. After viewing PDF file, upon closing Acrobat, a new Background Process starts called Adobe Acrobat (32 bit) uses 18% of cpu.  I have left run for three to four hours and does not close.  If I open another PDF file and then close, a second Background Process of Adobe Acrobat (32 bit) start, also using 18% of cpu.  I was able to open a third PDF file and upon closing a third Background Process of Adobe Acrobat (32 bit) start, also using 18% of cpu.  I did not try more.  All three consume over 50% of processor and after an hour does not close.  Fan and cpu begin to run hot so I manual End Task.  I tried Repair Acrobat Installation command, did not fix.  After searching forum used the Adobe Reader and Acrobat Cleaner Tool (http://labs.adobe.com/downloads/acrobatcleaner.html) to uninstall.  Then downloaded Acrobat XI Pro from My Adobe account login.  Reinstalled software.  Issue gone, could not replicate even after several hours of trying.  Then Checked for Updates. After updates installed, loaded and brought to version 11.0.3, problem returned as before. I have PDF files on both local drive and NAS, been able to recreate issue on both.  In a PDF intensive environment, I was having to leave the task manager up and occasionally stop Background Process of Adobe Acrobat (32 bit) so as to keep processor usage and fan speed down, thanks to Goateye01 for the suggestion, I now leave Acrobat open and close the files, this way the background process hang does not occur.  Additional Note, only able to create issue with standalone application, issue does not occur when in IE10 and viewing PDF files.   Hopefully a fix or helpful guidance coming soon?
    Vaio model SVS151290X
    Intel Core i7-3632QM [email protected]
    12 GB Ram
    256 GB SSD

  • Remove damaged app that will not close?

    printer Pro desktop will not close, can't delete because it's open. Cannot open because it's damaged. How do I remove ir?

    I am going to assume you are referring to an iMac running OS X because this is the iMac forum. There are three methods to remove apps.
    1. Use the developers recommended method, i.e. contac the developer and request their adive.
    2. Use a third party app such as AppCleaner (Google it).
    3. Drag the app to the trash.

Maybe you are looking for