referencing workbook containing
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Referencing a workbook containing VBA

Referencing a workbook containing VBA

resolvedResolved · Low Priority · Version 2003

replyReplyFri 30 Jul 2010, 11:20Delegate Florian said...

Referencing a workbook containing VBA

Hello,

I tried to apply what we learned at the beginning of the week and it works.

Before the course, I had few reports using similar pieces of codes. Hence, I decided to store all the codes and some look-up tables in a separate spreadsheet that all my reports would access.

In order to do so, when I try to attach a workbook to the code (in VBA: Tools – References – Browse ) to the VBA, I get the following error message: “Name conflicts with existing module, project or library”. Even though, it does not look like there should be a conflict.

Does any one have any idea on how could this be fixed?

Thanks a lot

Florian

For upcoming training course dates see: Pricing & availability

replyReplyTue 3 Aug 2010, 14:51Trainer Stephen said...

RE: Referencing a workbook containing VBA

Hi Florian

Thanks for your question

I'm not sure I understand what you are trying to do. I don't understand what you mean by "attach(ing) a workbook to the code".

Could you clarify this for me?

Thanks

Stephen

replyReplyWed 4 Aug 2010, 10:10Delegate Florian said...

RE: Referencing a workbook containing VBA

Hello,

What I was trying to do is to reference another workbook within the VBA editor. I think that it needs to be done in the same way as referencing "Microsoft Office 10.0 Object Library".

Please let me know if that helps.

Best Regards,

Florian

 

 

Please browse our web site to find out more about
excel consultants and other Microsoft training courses.

Excel tip:

Applying and removing border from cell in Excel 2010

Did you know the shortcut key for applying and removing the outline border for a cell?

CTRL+SHIFT+& Applies the outline border to the selected cells.
CTRL+SHIFT_ Removes the outline border from the selected cells.

View all Excel hints and tips

forum postHow do I use validation in cells?

» Forum post: EXCEL


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training