Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default New problem! All variables have to be defined?

I am running Excel 2010. This morning I uninstalled logitech Webcam and replace it with a Microsoft new HD Webcam(including drivers). Since then and I do not know if it is related, but all my Excel macros containing functions like Date or Format stop with a message saying: can't find project or librairy. Plus if a variable is not define the macro stop! Can somebody help?

Regards.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default New problem! All variables have to be defined?

On Saturday, August 10, 2013 12:47:39 PM UTC-4, Bobby wrote:
I am running Excel 2010. This morning I uninstalled logitech Webcam and replace it with a Microsoft new HD Webcam(including drivers). Since then and I do not know if it is related, but all my Excel macros containing functions like Date or Format stop with a message saying: can't find project or librairy. Plus if a variable is not define the macro stop! Can somebody help?



Regards.


I have to mention that I used the repair function of Microsoft Office, that did not work. I tried a System Restore but that did not work.
Any suggestion will be grately appreciate.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default New problem! All variables have to be defined?

I am running Excel 2010. This morning I uninstalled logitech Webcam and
replace it with a Microsoft new HD Webcam(including drivers). Since then and
I do not know if it is related, but all my Excel macros containing functions
like Date or Format stop with a message saying: can't find project or
librairy. Plus if a variable is not define the macro stop! Can somebody help?

Regards.


Have you got macros enabled for the open workbook?

It's only good practice to enforce variables be defined and so I won't
tell you where/how to turn that off because doing so will leave you
'flirting with disaster'! It's better that you learn good coding
techniques!<g

--
Garry

Free uenet access at http://www.eternal-september.org
Classic VB Users Regroup
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default New problem! All variables have to be defined?

On Saturday, August 10, 2013 12:47:39 PM UTC-4, Bobby wrote:
I am running Excel 2010. This morning I uninstalled logitech Webcam and replace it with a Microsoft new HD Webcam(including drivers). Since then and I do not know if it is related, but all my Excel macros containing functions like Date or Format stop with a message saying: can't find project or librairy. Plus if a variable is not define the macro stop! Can somebody help?



Regards.


Hi Garry,
Thanks for the reply.
To answer your question, yes macros are enable. What I meet is that I have some quick test macro where I did not define the variables and it did work before now if I test them it will not work unless I define then. I agree with you about always defining variables in a development environment.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default New problem! All variables have to be defined?

On Saturday, August 10, 2013 12:47:39 PM UTC-4, Bobby wrote:
I am running Excel 2010. This morning I uninstalled logitech Webcam and replace it with a Microsoft new HD Webcam(including drivers). Since then and I do not know if it is related, but all my Excel macros containing functions like Date or Format stop with a message saying: can't find project or librairy. Plus if a variable is not define the macro stop! Can somebody help?



Regards.


Problem solved! For some unknowen reason in my references a MISSING library appeared. I unmarked it and everything is now working.
Regards.


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default New problem! All variables have to be defined?

On Saturday, August 10, 2013 12:47:39 PM UTC-4, Bobby wrote:
I am running Excel 2010. This morning I uninstalled logitech Webcam and
replace it with a Microsoft new HD Webcam(including drivers). Since then and
I do not know if it is related, but all my Excel macros containing functions
like Date or Format stop with a message saying: can't find project or
librairy. Plus if a variable is not define the macro stop! Can somebody
help?



Regards.


Problem solved! For some unknowen reason in my references a MISSING library
appeared. I unmarked it and everything is now working. Regards.


That's great! Thanks for the feedback...

--
Garry

Free uenet access at http://www.eternal-september.org
Classic VB Users Regroup
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


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
Can excel objects be defined as global variables Phyllis Excel Programming 2 April 5th 10 10:09 PM
ftp paths defined in variables are persisting. How to clear?(vba) CharlieH Excel Programming 3 September 17th 08 04:57 AM
Undeclared variables allowed in a Module defined with Option Expli cgr[_2_] Excel Programming 4 July 26th 06 04:20 PM
Assistance with variables defined outside of macro Barb Reinhardt Excel Programming 1 December 1st 05 07:35 PM
User Defined Variables in MS query cause a problem to import data snb Excel Discussion (Misc queries) 0 April 13th 05 12:16 AM


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