PC Review


Reply
Thread Tools Rate Thread

ActiveX error - multiple workbooks appearing in vbproject

 
 
macmeldrum@yahoo.co.uk
Guest
Posts: n/a
 
      19th Oct 2008
Dear All,

I'm running code and I am getting instances when I get ActiveX - can't
create object. When I end procedure I get multiple workbook objects
in my vbProject (named the sheet the procedure was working on).

I think it is to do with the fact I am using the object name of a
sheet to pass it to a function which finds the usedrange.

Please can anyone put some light into why this might be happening?

Thanks

Mac
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      19th Oct 2008
It would be helpful if you posted the relevant portions of your code
and indicate which line of code is highlighted when the error occurs.
In and of itself, passing a Worksheet type object around to various
procedures shouldn't cause any problems.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Sun, 19 Oct 2008 09:37:19 -0700 (PDT), (E-Mail Removed)
wrote:

>Dear All,
>
>I'm running code and I am getting instances when I get ActiveX - can't
>create object. When I end procedure I get multiple workbook objects
>in my vbProject (named the sheet the procedure was working on).
>
>I think it is to do with the fact I am using the object name of a
>sheet to pass it to a function which finds the usedrange.
>
>Please can anyone put some light into why this might be happening?
>
>Thanks
>
>Mac

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Lock VBProject Programmatically without SendKeys (Note:- Idon't want to Unlock or crack the VBProject. Just want to Lock itProgrammatically) K Microsoft VB .NET 3 21st May 2010 04:55 PM
How to Lock VBProject Programmatically without SendKeys (Note:- Idon't want to Unlock or crack the VBProject. Just want to Lock itProgrammatically) K Microsoft Excel Programming 3 14th May 2010 12:51 AM
Error when multiple macro driven workbooks open =?Utf-8?B?VGhlbyBCZWxs?= Microsoft Excel Crashes 3 16th Oct 2007 04:47 PM
Error when multiple macro driven workbooks open =?Utf-8?B?VGhlbyBCZWxs?= Microsoft Excel Programming 2 16th Oct 2007 03:16 PM
Countif error using multiple workbooks =?Utf-8?B?TWVsb2R5NDU3Mg==?= Microsoft Excel Misc 11 6th Feb 2007 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:14 PM.