473,466 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# Excel Add-in works on some machines, but then not others

Hi,

I've working on an Excel Add-in written is C# that someone else has
started and I have been modifying. It is based on the .Net Framwork
2.0

All of a sudden, the add-in stopped working on my machine and several
others, but still works on a bunch of other ones.

The symptoms are these:
The plugin installs and when you go Tools->Add-Ins->Automation it is
there. Furthermore, upon selecting it, it adds itself to the list of
add-ins. *
However*, the functions defined in it are unavailable in Excel. If you
try to use one, you get "#NAME?". If you select the function dialog,
the functions are not on the list, nor is the add-in under "Or select
a category".

We are at a total loss and any help would be greatly appreciated. This
is really killing our productivity.

Thank you!

Aaron Fude

Apr 4 '07 #1
4 1613
Hi,

I would appreciate any suggestions whatsoever!

Aaron Fude

Apr 5 '07 #2
On Apr 5, 8:05 am, aaronf...@gmail.com wrote:
I would appreciate any suggestions whatsoever!
Since you put it that way, I'll venture a guess. Could it be related
to security settings on the PC? I know you have to take extra measures
to allow a PC to run a VBA script inside a spreadsheet.

If your networking people are anything like ours, they probably
decided to lock down some permissions without coordinating first.
That's a weekly occurance at my company :-(

Eric

Apr 5 '07 #3
!!!!Yes!!!!

Thank you Eric.

This is some kind of a glitch, because my Macro Security was already
set to Low and I had checkmarks for "Trust all installed templates and
add-ins" and "Trust access to Visual Basic" projects, but unchecking
those and then rechecking them revived by c-sharp Add-in!

Once again, thank you. This has taken months!

(Was there a more systematic way to catch something like this? Is
there an error log or console of some kind?

Aaron

Apr 7 '07 #4
On Apr 7, 12:29 am, aaronf...@gmail.com wrote:
(Was there a more systematic way to catch something like this? Is
there an error log or console of some kind?
Maybe the Windows Event Log had some kind of useful tips about a
security problem? But there's a good chance it didn't show anything
useful. Addins in general are difficult to debug.

Eric

Apr 7 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Carter | last post by:
The following C# lines of code work fine with Excel 2000:- ExcelApplication excelApplication = new Excel.Application(); ExcelWorkbook excelWorkbook =...
2
by: Randy | last post by:
Hello, I'm trying to figure out how to do the above. I'm using a snippet of code I found on the net (see below). My problem is when I hit the line (oXL = new Excel.Application();) I get an...
2
by: Mike Fellows | last post by:
within my VB.net app I use Excel a lot, so far I have used Dim excel_app As Object excel_app = CreateObject("Excel.Application") excel_app.Workbooks.Add() and parsed through the spreadsheet...
4
by: jmalvika | last post by:
Hi all, I'm trying to generate an excel report from an ASP web page using .. "response.ContentType = "application/vnd.ms-excel" .... I need to add a custom header & footer to the excel...
1
by: Gultekin Komanli | last post by:
Hi all, When I try to add reference to Excel, I select my project's porperties from the Project menu, on the add reference dialog, tab named COM, there are Excel 11.0 and Excel 5.0 Object...
2
by: jesusdiehard | last post by:
hi guys, this is first posting on The Scripts network. Guys, i have built a shared addin for Excel 2003 using visual studio 2005 and C#. Till adding command bar and menu items, it was okay. ...
2
by: Ray | last post by:
Hi, I need to use cell's background color. when I record a macro from excel, it shows: Rows("7:7").Select With Selection.Interior .ColorIndex = 8 .Pattern = xlSolid
2
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I exported a gridview to excel spreadsheet. I want to adjust the column width of the excel spreadsheet. Is it possible to create Excel macro from C# to adjust the column width...
1
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I exported a gridview to excel spreadsheet. I want to adjust the column width of the excel spreadsheet. Is it possible to create Excel macro from C# to adjust the column width...
0
by: nick020483 | last post by:
I've developed a windows application which creates an excel file. The application functions fine on an XP machine running Office 2003. However, it blows out when it's ran on an XP machine running...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.