Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Compile error hidden module

Hi,

This code looks fine to me...


Private Sub Calendar1_Click()



dformat = format(Calendar1.Value, "dd-mmm-yyyy")

TextBox1.Value = dformat
End Sub



BUt ut give me a compile error. Can't find project in library.

Please hepl..

Thanks!
Boss
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Compile error hidden module

In VBA window go to Tools - References and make sure Calendar Control is
checked. When you click on the line Calendar control a path name for the
library objectt will appear. Make sure the library file is on the PC.

"Boss" wrote:

Hi,

This code looks fine to me...


Private Sub Calendar1_Click()



dformat = format(Calendar1.Value, "dd-mmm-yyyy")

TextBox1.Value = dformat
End Sub



BUt ut give me a compile error. Can't find project in library.

Please hepl..

Thanks!
Boss

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Compile error hidden module

Thanksyou so much...

Actually ref edit is missing.
I tried copying from other system buy didn't helped..

what should i do now.

Thanks!
Boss

"Joel" wrote:

In VBA window go to Tools - References and make sure Calendar Control is
checked. When you click on the line Calendar control a path name for the
library objectt will appear. Make sure the library file is on the PC.

"Boss" wrote:

Hi,

This code looks fine to me...


Private Sub Calendar1_Click()



dformat = format(Calendar1.Value, "dd-mmm-yyyy")

TextBox1.Value = dformat
End Sub



BUt ut give me a compile error. Can't find project in library.

Please hepl..

Thanks!
Boss

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Compile error hidden module

Same thing for RefEdit. Look for "Ref Edit Control" in references. Somebody
last week had the same problem and never found out what was wrong. I thinik
they had more than one version of excel loaded on their PC. They had an
Office11 and Office12 directory on their PC.

I think I had this problem the 1st time I used RefEdit on my PC a few years
ago. Don't remember what the solution was. There may of been something
missing in the System32 windows directory. or I had to add an update to my PC.

"Boss" wrote:

Thanksyou so much...

Actually ref edit is missing.
I tried copying from other system buy didn't helped..

what should i do now.

Thanks!
Boss

"Joel" wrote:

In VBA window go to Tools - References and make sure Calendar Control is
checked. When you click on the line Calendar control a path name for the
library objectt will appear. Make sure the library file is on the PC.

"Boss" wrote:

Hi,

This code looks fine to me...


Private Sub Calendar1_Click()



dformat = format(Calendar1.Value, "dd-mmm-yyyy")

TextBox1.Value = dformat
End Sub



BUt ut give me a compile error. Can't find project in library.

Please hepl..

Thanks!
Boss

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Compile error hidden module

Thanks Joel,

The refedit file was there in the system.
All was rquired was "browse"

thansk!
Boss

"Joel" wrote:

Same thing for RefEdit. Look for "Ref Edit Control" in references. Somebody
last week had the same problem and never found out what was wrong. I thinik
they had more than one version of excel loaded on their PC. They had an
Office11 and Office12 directory on their PC.

I think I had this problem the 1st time I used RefEdit on my PC a few years
ago. Don't remember what the solution was. There may of been something
missing in the System32 windows directory. or I had to add an update to my PC.

"Boss" wrote:

Thanksyou so much...

Actually ref edit is missing.
I tried copying from other system buy didn't helped..

what should i do now.

Thanks!
Boss

"Joel" wrote:

In VBA window go to Tools - References and make sure Calendar Control is
checked. When you click on the line Calendar control a path name for the
library objectt will appear. Make sure the library file is on the PC.

"Boss" wrote:

Hi,

This code looks fine to me...


Private Sub Calendar1_Click()



dformat = format(Calendar1.Value, "dd-mmm-yyyy")

TextBox1.Value = dformat
End Sub



BUt ut give me a compile error. Can't find project in library.

Please hepl..

Thanks!
Boss

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
Compile Error in Hidden Module: Module 1 Mim Excel Programming 3 January 23rd 10 12:22 AM
Compile error in hidden module Chris Reynolds Excel Discussion (Misc queries) 3 March 10th 06 07:11 PM
Compile error in hidden module arjay Excel Discussion (Misc queries) 5 September 16th 05 12:47 AM
Compile Error in Hidden Module: Patrick[_7_] Excel Programming 1 January 6th 04 12:59 PM
compile error in hidden module Paul B[_7_] Excel Programming 2 December 12th 03 06:13 PM


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