ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Removing a reference (https://www.excelbanter.com/excel-programming/304701-removing-reference.html)

Andrew B[_3_]

Removing a reference
 
Hi
I have Excel workbooks which reference an .xla file to access subroutines. I
would like to change the name of the reference to an updated version. Is
there any way I can do this programmatically through VBA, without having to
manually open each workbook, go to the VBE and change the reference manually
?

TIA

Andrew Bourke



Tom Ogilvy

Removing a reference
 
See Chip Pearson's page for working with the VBE

http://www.cpearson.com/excel/vbe.htm

There is a references collection for each project (workbook).

--
Regards,
Tom Ogilvy


"Andrew B" wrote in message
...
Hi
I have Excel workbooks which reference an .xla file to access subroutines.

I
would like to change the name of the reference to an updated version. Is
there any way I can do this programmatically through VBA, without having

to
manually open each workbook, go to the VBE and change the reference

manually
?

TIA

Andrew Bourke





All times are GMT +1. The time now is 01:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com