Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Histogram VBA Code won't run in Excel 2003

Hi,

I'm having a strange problem with some VBA code that I
wrote which calls the histogram subroutine that is in the
ATPVBAEN.XLA file. The relevant code is:
Application.Run "ATPVBAEN.XLA!Histogram", inputrange,
outputrange, , False, False, False, False

Excel 2003 (but not earlier versions) craps out with the
error:

Run-time error '1004':
The macro '' cannot be found.

Could anyone suggest any solutions. I've done the obvious
of making sure that the object library is referenced,
macro security is set to low, trust vb applications is
checked.

Thanks in advance.

Jim.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Histogram VBA Code won't run in Excel 2003

is ATPVBAEN.XLA loaded? (can you see it in the project explorer in the
VBE?)

--
Regards,
Tom Ogilvy

"jimbuff" wrote in message
...
Hi,

I'm having a strange problem with some VBA code that I
wrote which calls the histogram subroutine that is in the
ATPVBAEN.XLA file. The relevant code is:
Application.Run "ATPVBAEN.XLA!Histogram", inputrange,
outputrange, , False, False, False, False

Excel 2003 (but not earlier versions) craps out with the
error:

Run-time error '1004':
The macro '' cannot be found.

Could anyone suggest any solutions. I've done the obvious
of making sure that the object library is referenced,
macro security is set to low, trust vb applications is
checked.

Thanks in advance.

Jim.



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Histogram VBA Code won't run in Excel 2003

Yes, it is loaded and is visible in project explorer.
It is quite a puzzle...

I even tried recording a macro of me creating a histogram
but that didn't work either. It crapped out with the same
error message.

-----Original Message-----
is ATPVBAEN.XLA loaded? (can you see it in the project

explorer in the
VBE?)

--
Regards,
Tom Ogilvy

"jimbuff" wrote in

message
...
Hi,

I'm having a strange problem with some VBA code that I
wrote which calls the histogram subroutine that is in

the
ATPVBAEN.XLA file. The relevant code is:
Application.Run "ATPVBAEN.XLA!Histogram", inputrange,
outputrange, , False, False, False, False

Excel 2003 (but not earlier versions) craps out with the
error:

Run-time error '1004':
The macro '' cannot be found.

Could anyone suggest any solutions. I've done the

obvious
of making sure that the object library is referenced,
macro security is set to low, trust vb applications is
checked.

Thanks in advance.

Jim.



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Histogram VBA Code won't run in Excel 2003

Unfortunately, I don't have xl2003 loaded anywhere that I could test it, so
hopefully someone with 2003 can take a look.

--
Regards,
Tom Ogilvy

wrote in message
...
Yes, it is loaded and is visible in project explorer.
It is quite a puzzle...

I even tried recording a macro of me creating a histogram
but that didn't work either. It crapped out with the same
error message.

-----Original Message-----
is ATPVBAEN.XLA loaded? (can you see it in the project

explorer in the
VBE?)

--
Regards,
Tom Ogilvy

"jimbuff" wrote in

message
...
Hi,

I'm having a strange problem with some VBA code that I
wrote which calls the histogram subroutine that is in

the
ATPVBAEN.XLA file. The relevant code is:
Application.Run "ATPVBAEN.XLA!Histogram", inputrange,
outputrange, , False, False, False, False

Excel 2003 (but not earlier versions) craps out with the
error:

Run-time error '1004':
The macro '' cannot be found.

Could anyone suggest any solutions. I've done the

obvious
of making sure that the object library is referenced,
macro security is set to low, trust vb applications is
checked.

Thanks in advance.

Jim.



.



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
how to delete a class category in histogram, Excel 2003? Djalia Kabebwa[_2_] Charts and Charting in Excel 1 March 20th 09 09:08 AM
Does Excel 2003 have CDF feature in its histogram plotting function? cfman Excel Discussion (Misc queries) 3 March 28th 07 03:02 AM
Changing ZIP code formats in Excel 2003 cdbinder Excel Discussion (Misc queries) 6 January 29th 07 03:04 AM
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


All times are GMT +1. The time now is 09:56 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"