Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ATPVBAEN.XLA!Histogram - macro not found

Hi,

I am trying to open a workbook and run a macro from C#. I get an error
when I try to run the data analysis macro.
I don't get this error when I manually open the workbook and run the
macro.

- I've made sure the analysis toolpak for VBA add-in is actually
loaded, but I get the following error:
"The macro '' cannot be found"

Here's the code:

'make sure the addins are loaded
Dim iCount As Integer
For iCount = 1 To Application.AddIns.Count
If UCase(Application.AddIns(iCount).Installed) Then
Application.Workbooks.Open
(Application.AddIns(iCount).FullName)
End If
Next iCount

Application.Run "ATPVBAEN.XLA!Histogram", Range("I20:I65536"), _
Range("O19"), _
Range("M20:M50"), False, False,
False, False

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
atpvbaen.xla cound not be found MIRA Excel Discussion (Misc queries) 2 July 20th 07 12:46 PM
I was creating a histogram; now i have data but no histogram. ShannonMills3 Excel Worksheet Functions 0 June 14th 06 12:03 AM
How to Histogram w/o raw data but histogram Table on Excel 2005 Charts and Charting in Excel 1 February 1st 06 06:48 AM
ATPVBAEN.xls Not Found Stratuser Excel Programming 1 April 23rd 05 01:32 AM
ATPVBAEN.XLA!Random Call in Macro Frank & Pam Hayes Excel Programming 4 February 18th 04 08:20 PM


All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"