Excel-ActiveX-Maximized if I close it, I get missing reference error

I have report which is generated  using excel(not Report genration Toolkit).... There is an option for window state.
Well I want it open,(but the problem is if someone closes the excel file, I get errors saying no reference... and all that thing)
Is there a way to view this way(i.e. updates while entering and does not cause problems if we close it)
Solved!
Go to Solution.

Hi karthik,
you need to program some error handling.
When your user is able to close the excel workbook while your program is working with it, you need to check for errors. When an error like "missing reference" is popping up you need to re-open the workbook…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Firefox is slow to open and close. I get a "script error" that says it may be caused by a recently opened tab. What do I do to correct this problem. It is wreaking havoc when trying to open/close or move around the internet.

    I am getting a "script error" when I close out the internet, specifically Firefox. My backup internet explorer does not do this. This is slowing down the process of opening/closing Firefox. When I open Mozilla, I get "restore session" even though I have closed everything down. I have "removed program" and re-downloaded Mozilla 3 times and still this problem persists. What is causing it and how do I fix it?

    -> Update All your Firefox Plugins
    * https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    * Restart Firefox
    Check and tell if its working.

  • Excel ActiveX error in exe: library not registered

    Hi,
    I wondered if any of you can help me as I'm at a bit of a
    loss. I have an application that is complied to exe, and installed with
    an installer in LabVIEW 8.5.1 that uses the Excel ActiveX interface to
    write to an xls file. In development and on all of my testing this
    seems to work fine (with Excel 03 and 07) but I have just received a
    bug report whereby on a particular install the following error has been
    thrown form my Open Excel VI (see attached code). Apparently it was
    working but this machine has recently upgraded some data management
    software (Goldmine 6.0 -> 7.5) and since then it hasn't worked.  The error generated is:
    Error code:-2147319779
    source: "Library not registered."
    Troubleshooting
    is complicated a little as this is running as an exe and the source
    code seems to work fine on my development machine.
    Any ideas would be GREATLY appriciated!
    (my current inclination is to ask the customer to resintall Office and
    Goldmine and then reinstall the LabVIEW app - so far he has only tried
    reinstalling the LabVIEW software)
    Shaun
    (this message is also posted on Lavag.org = http://forums.lavag.org/Excel-ActiveX-error-in-exe-library-not-registered-t11912.html)
    Attachments:
    Open Excel.vi.png ‏52 KB

    It would really help to see the relevant code, and to know which version of LabVIEW is being used.  I notice the original code was developed on LabVIEW 8.5, and the Poster mentions older versions of Office (and is writing an .xls instead of an .xlsx file), suggesting the original code is about 7 years old.
    About 4 years ago, I got frustrated with trying to use ActiveX, and NI developed a much more robust Report Generation Toolkit.  I've adopted the RGT and haven't looked back.  Most of the weird errors I used to fight are gone, and building executables is (mostly) no pain (there's a small glitch that required manual OK-type intervention when you first encounter the Toolkit in a Build).  I'm guessing that it should be pretty easy to rewrite your code using the RGT in place of ActiveX, and I'm willing to help ...
    Bob Schor

  • Excel ActiveX Development

    Hi all,
    I would like to know where I can find some guidance and examples on Excel ActiveX development.  Is there a thread dedicated to Excel development in LV?
    Basically all I want to do is create a report in Excel based on some control values etc within a VI.
    I don't have Report Gen Toolkit and don't want to purchase.  I have seen that it can be done using ActiveX functions.  Is this the way to go?
    Thanks for your help!
    Battler.

    The excel board is located in the breakpoint:
    http://forums.ni.com/t5/BreakPoint/Excel-Board/m-p/379682
    And yes, if you don't want to purchase a toolkit, using ActiveX on your own is the way to go.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Good day!     On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09 When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Un

    Good day!
    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"

    Hi,
    Was it working fine for you before?
    Is it with some specific documents?
    Are you able to convert the word/excel files to pdf?
    Regards,
    Rave

  • Good day!   On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09  When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Una

    Good day!
    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"

    This happens with any file .
    Send a file with the screen errors and system data . Also send a couple of files PDF.
    Translates only txt format.
    Acrobat установлен: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:43:46
    Браузер по умолчанию:
    Версия BIOS: _ASUS_ - 1072009
    Версия ОС: 6.2.9200 
    Всего виртуальной памяти: 4194176 KB
    Всего физической памяти: 4077252 KB
    Графическая плата: Intel(R) HD Graphics 4000
        Версия: 10.18.10.3412
        Отметить: Не поддерживается
    Доступная виртуальная память: 3638168 KB
    Доступная физическая память: 1689940 KB
    Имя пользователя: Vazgen
    Имя системы: VAZGENTAICHI
    Монитор:
        Название: Intel(R) HD Graphics 4000
        Разрешение: 1920 x 1080 x 60
        Бит на пиксел: 32
    Название ОС: Microsoft Windows Vista
    Папка Windows: C:\WINDOWS
    Папка для временных файлов: C:\Users\Vazgen\AppData\Local\Temp\
    Почтовая программа по умолчанию: Microsoft Outlook
        mapi32.dll
        Версия: 1.0.2536.0 (winblue_rtm.130821-1623)
    Производитель ОС: Microsoft Corporation
    Процессор: Intel64 Family 6 Model 58 Stepping 9 GenuineIntel  ~1696  Mhz
    Сведения о Windows:
       Планшетный ПК: Да
       Начальная версия: Нет
       Media Center Edition: Нет
       Медленный компьютер: Нет
    Сведения о сеансе:
       Тип загрузки: Обычный
       Завершение работы: Нет
       Сеть: Доступно
       Внутри Citrix: Нет
       Внутри VMWare: Нет
       Удаленный сеанс: Нет
       Удаленное управление: Нет
       Использование JAWS: Нет
       Использование Windows-Eyes: Нет
       Использование NVDA: Нет
    Сведения об Acrobat:
       Изолирование программной среды: Отключить
       Связанная программа для чтения: Нет
       Multi-Reader с поддержкой Desktop: Отключить
    Сведения об отображении:
       Ширина экрана: 1920
       Высота экрана: 1080
       Число мониторов: 2
       Число кнопок мыши: 2
       Мышь с колесом прокрутки: Нет
       С маркером Windows: Нет
       Двухбайтовая кодировка: Нет
       С редактором метода ввода: Да
       В программе для чтения с экрана: Нет
    Сведения об учетной записи:
       Права пользователя: Администратор
       Управление учетной записью пользователя: Ограниченное
       Целостность процесса: Не определено
       Тип профиля: Отсутствует
    Установленные приложения:
       Версия Office: Office 2013 32-bit
    Файл подкачки: 4194303 KB
    Часовой пояс: Московское время (зима)
    Язык: Русский (Россия)
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:22
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:18
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\PaperCapture.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:43:36
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SaveAsRTF.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SendMail.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:22

  • I'm getting the following error message when ever I try to start cs6 and the program gets close. "Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly."

    Hi,
    I’m getting the following error message when ever I try to start cs6 and the program gets close.
    “Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available”
    Please advise what is the problem? and How to sort this out?
    OS Name
    Microsoft Windows 8.1 Pro
    Version
    6.3.9600 Build 9600
    Other OS Description
    Not Available
    OS Manufacturer
    Microsoft Corporation
    System Name
    JARVIS
    System Manufacturer
    Dell Inc.
    System Model
    Inspiron N5110
    System Type
    x64-based PC
    System SKU
    To be filled by O.E.M.
    Processor
    Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date
    Dell Inc. A11, 8/3/2012
    SMBIOS Version
    2.6
    Embedded Controller Version
    1.01
    BIOS Mode
    Legacy
    BaseBoard Manufacturer
    Dell Inc.
    BaseBoard Model
    Not Available
    BaseBoard Name
    Base Board
    Platform Role
    Mobile
    Secure Boot State
    Unsupported
    PCR7 Configuration
    Binding Not Possible
    Windows Directory
    C:\Windows
    System Directory
    C:\Windows\system32
    Boot Device
    \Device\HarddiskVolume2
    Locale
    United States
    Hardware Abstraction Layer
    Version = "6.3.9600.17196"
    User Name
    Jarvis\JARVIS\Abhishek
    Time Zone
    India Standard Time
    Installed Physical Memory (RAM)
    4.00 GB
    Total Physical Memory
    3.16 GB
    Available Physical Memory
    1.21 GB
    Total Virtual Memory
    3.72 GB
    Available Virtual Memory
    1.55 GB
    Page File Space
    576 MB
    Page File
    C:\pagefile.sys
    Hyper-V - VM Monitor Mode Extensions
    Yes
    Hyper-V - Second Level Address Translation Extensions
    Yes
    Hyper-V - Virtualization Enabled in Firmware
    Yes
    Hyper-V - Data Execution Protection
    Yes
    Display adapters:
      and NVIDIA GeForce GT 525M.

    Without the actual crash logs nobody can say, but chances are that your graphics hardware is to blame, so update the driver...
    Mylenium

  • When I click to open anything I get a box saying open link in new window, open link in new tab, download linked file etc.  When I go to close anything I get hide toolbar, customize toolbar.  It takes  3-5 clicks and it will finally close.

    When I click to open anything I get a box saying open link in new window, open link in new tab, download linked file etc.  When I go to close anything I get hide toolbar, customize toolbar.  It takes  3-5 clicks and it will finally close.

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • My computer had to be restored at the apple store. When they did it my Microsoft word, powerpoint, and excel were all deleted! How can I get them back? Who do I talk to, Apple or Microsoft?

    My computer had to be restored at the apple store. When they did it my Microsoft word, powerpoint, and excel were all deleted! How can I get them back? Who do I talk to, Apple or Microsoft?

    you are responsible for reinstalling any apps.  It is not Apples responsibility as outline the the service agreement.  Do you have the product key? 

  • Everytime i close firefox, i get an error message about quicktime not working. 6 times.

    browsing normally, close firefox, i get an error message about quicktime not working. i click ok. then another comes up. i click ok. 6 times total this error message comes up, every time i close firefox. really annoying.

    If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
    *Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re)install
    *Install the new version that you have downloaded
    * http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
    Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also try to repair the disk permissions:
    *http://thexlab.com/faqs/repairprocess.html

  • I keep getting the message "error signature" and the itunes needs to close

    i keep getting the message "error signature" and iTunes needs to close. please help.

    Hi johnbpl,
    It sounds as if you are having difficulty connecting to the App Store to check for updates for applications on your iPad. If that is the case, I would suggest that you troubleshoot using the steps in this article - 
    Can't connect to the iTunes Store - Apple Support
    Start with the section Troubleshoot issues on an iPhone, iPad, or iPod touch then if needed the section Learn more.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Java 6 upgrade 3 closes windows on XP with no errors-help

    I was running a streamer application on Ameritrade when it asked for a Java upgrade which I did. After that, when I ran the application it would close the Ameritrade window without an error message. I deleted the old environment but that didn't help. I've tried looking for earlier Java programs on thier site but when I go to the free download or try to verify my Java program it closes the window again with no error just like what it did to the Ameritrade streamer application. Help!!

    try enabling verbose output. You can do this from the java control panel. Under the runtime settings add the "-verbose" flag. Next time you start the java plugin you'll see a command prompt start up. Any fatal error might be printed there. You can get a stack dump by hitting the \ + break key in the command prompt window (before the plugin exits). - Sometimes a java program might exit due to a JNI error, If you are using native libraries you could check errors there by adding the "-Xcheck:jni" parameter to the plugin runtime settings.

  • Mail opens in new window, must close window to get to next msg unable to arrow down to next msg?

    mail opens in new window, must close window to get to next msg, unable to arrow down to next msg, help?

    from my son, in mail version 4.5,
    In the "classic layout", at the bottom of your email list, there should be a thin gray bar with a little gray dot in the center.  Hover over that spot until the cursor turns into the "bar arrow" and drag it upward.  You messages should appear below like the second screenshot.  Alternatively, if you are using the newer version of Mac Mail, you could change your Preferences> Viewing to the "new layout". 

  • CS6 on Windows 7 - when I try and send my project to Adobe Link, then to Encore I repeatedly get the error message "Encore has stopped working, windows will close the program".  I get the same error message when I try and open Encore on its own.  Help wou

    Both when I open Encore as a standalone program, and when I try and export my work via Adobe Link to Send to Encore, I get the same error message - "Adobe Encore has stopped working.  Windows will close the program.  Help would really be appreciated.  Thanks.

    Now that is impressive Stan, thankyou!  So simple ...  I don't suppose you know why the "build" button is greyed out do you?  Don't worry if you don't have more "magic dust" at your fingertips, I'll re-check my settings again, and again ...  Thanks for your help.  Doreen.

  • I've uploaded pictures to iPhoto but when I try to upload them to Facebook iPhoto closes and says that an unexpected error occurred, any suggestions?

    I've uploaded pictures to iPhoto but when I try to upload them to Facebook iPhoto closes and says that an unexpected error occurred, any suggestions?

    Have you tried toggling your FTP settings?

Maybe you are looking for