Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Pb with additional VBA reference

Hi all
One of the macro in my sheet uses an extra reference (PDFCreator, to create
PDF documents from the sheet).
My problem is the following: on a computer where this extra reference
(PDFCreator) is not installed, I cannot execute any of the macro of my sheet
(even those that doesn't use PDFCreator).

How can I do to:
- detect if the extra references needed are installed on the current
computer
- disable the functions using these references
- make the other functions work as usual

Thank you!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Pb with additional VBA reference

Dear Zorro,

Take a look at the "Visual Basic Add-In Model" entry at the Visual Basic
Language Reference. There you will find the documentation for the references
collection of objects, which will help you to accomplish your three tasks:

"Use the References collection to add or remove references. The References
collection is the same as the set of references selected in the References
dialog box."

Best,

RGO


"Zorro" wrote:

Hi all
One of the macro in my sheet uses an extra reference (PDFCreator, to create
PDF documents from the sheet).
My problem is the following: on a computer where this extra reference
(PDFCreator) is not installed, I cannot execute any of the macro of my sheet
(even those that doesn't use PDFCreator).

How can I do to:
- detect if the extra references needed are installed on the current
computer
- disable the functions using these references
- make the other functions work as usual

Thank you!



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 add additional columns? Dave452 Excel Discussion (Misc queries) 4 September 3rd 09 05:07 AM
Need additional help Pamela Jean Excel Worksheet Functions 6 October 19th 06 07:12 PM
additional row of tabs Lori Excel Discussion (Misc queries) 2 July 24th 06 05:49 PM
No additional controls in VBE Anton[_4_] Excel Programming 0 February 20th 06 07:32 PM
additional help scrabtree23[_2_] Excel Programming 1 September 15th 04 08:27 PM


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