Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default ATP or ATP - VBA

I posted a question (which I have since solved) on a different forum.
I have a model that uses some advanced date functions found in the ATP.
My worksheet includes some VBA code but primarily for sorting and
printing. Nothing in the code references any functions.

On computers that didn't have ATP - VBA installed, the model would
create a warning about links and then show an error message for certain
formulas stating the Name was not understood.

I've solved the problem by including a VBA statement that loads both
ATP addins when the worksheet is opened.

However, I don't understand why ATP - VBA is needed if I don't have any
functions called via VBA.

Thanks.

- John

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ATP or ATP - VBA

If you don't call ATP functions from VBA you shouldn't need it. What message
do you get?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"John Michl" wrote in message
oups.com...
I posted a question (which I have since solved) on a different forum.
I have a model that uses some advanced date functions found in the ATP.
My worksheet includes some VBA code but primarily for sorting and
printing. Nothing in the code references any functions.

On computers that didn't have ATP - VBA installed, the model would
create a warning about links and then show an error message for certain
formulas stating the Name was not understood.

I've solved the problem by including a VBA statement that loads both
ATP addins when the worksheet is opened.

However, I don't understand why ATP - VBA is needed if I don't have any
functions called via VBA.

Thanks.

- John



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default ATP or ATP - VBA

First message is upon opening the file and is the links to external
file message ...

"This workbook contains links to other data sources. If you update the
links..."

If I choose Update, I get a message indicating that some links can't be
updated and do I want to Edit those links. If I say yes, I go to an
Edit Links dialog box where the following info is displayed:
Source: ATPVBAEN.XLA
Type: Worksheet
Update: A
Status: Error: Undefined or non-rectangular name

Also, the formulas containing the WEEKNUM function are changed to
include a path such as:
='C:\Program Files\Microsoft
Office\Office10\LIBRARY\Analysis\ATPVBAEN.XLA'!WEE KNUM(G8)

As for VBA calls...
I now have macro in the worksheet open event that install the ATP and
ATP-VBA addins.
I have four simple macros that sort a table different ways plus
hide/unhide columns and autofit some columns. No functions of any kind
are called in the VBA.

- John

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



All times are GMT +1. The time now is 03:58 PM.

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

About Us

"It's about Microsoft Excel"