PC Review


Reply
Thread Tools Rate Thread

Data form errror

 
 
lwm
Guest
Posts: n/a
 
      3rd Feb 2008
Using this code

With Me
'make sure there's a data source, destination, and title
If Trim(.cmbDstSheet.Value) = "" Or _
Trim(.refSrcRange.Value ) = "" Or _
Trim(.txtChartTitle.Value) = "" Then


I am getting a compiler error at the word Trim that can't find project or
library

the cmbDstSheet.Value is corectly named in the form design as is the
refSrcRange.Value. If I rem out cmb I still get the same error at trim with
ref

Any ideas ?

Thanks

 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      3rd Feb 2008
Click Tools/References on the VBA editor's menu bar and see if any
references are missing. If so, check the box next to them and see if that
straightens things out.

Rick


"lwm" <(E-Mail Removed)> wrote in message
news12ED920-EBF8-40BD-A4F0-(E-Mail Removed)...
> Using this code
>
> With Me
> 'make sure there's a data source, destination, and title
> If Trim(.cmbDstSheet.Value) = "" Or _
> Trim(.refSrcRange.Value ) = "" Or _
> Trim(.txtChartTitle.Value) = "" Then
>
>
> I am getting a compiler error at the word Trim that can't find project or
> library
>
> the cmbDstSheet.Value is corectly named in the form design as is the
> refSrcRange.Value. If I rem out cmb I still get the same error at trim
> with
> ref
>
> Any ideas ?
>
> Thanks
>


 
Reply With Quote
 
lwm
Guest
Posts: n/a
 
      4th Feb 2008
Rick

I seem to have an error in my RefEdit.dll

Thanks


"Rick Rothstein (MVP - VB)" wrote:

> Click Tools/References on the VBA editor's menu bar and see if any
> references are missing. If so, check the box next to them and see if that
> straightens things out.
>
> Rick
>
>
> "lwm" <(E-Mail Removed)> wrote in message
> news12ED920-EBF8-40BD-A4F0-(E-Mail Removed)...
> > Using this code
> >
> > With Me
> > 'make sure there's a data source, destination, and title
> > If Trim(.cmbDstSheet.Value) = "" Or _
> > Trim(.refSrcRange.Value ) = "" Or _
> > Trim(.txtChartTitle.Value) = "" Then
> >
> >
> > I am getting a compiler error at the word Trim that can't find project or
> > library
> >
> > the cmbDstSheet.Value is corectly named in the form design as is the
> > refSrcRange.Value. If I rem out cmb I still get the same error at trim
> > with
> > ref
> >
> > Any ideas ?
> >
> > Thanks
> >

>
>

 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      4th Feb 2008
I presume you are seeing this error in the References, right? Is the box
next to this dll checked? If not, put a check in it and see if that fixes
it.

Rick


"lwm" <(E-Mail Removed)> wrote in message
news:B3EA5AB8-532F-432E-96BA-(E-Mail Removed)...
> Rick
>
> I seem to have an error in my RefEdit.dll
>
> Thanks
>
>
> "Rick Rothstein (MVP - VB)" wrote:
>
>> Click Tools/References on the VBA editor's menu bar and see if any
>> references are missing. If so, check the box next to them and see if that
>> straightens things out.
>>
>> Rick
>>
>>
>> "lwm" <(E-Mail Removed)> wrote in message
>> news12ED920-EBF8-40BD-A4F0-(E-Mail Removed)...
>> > Using this code
>> >
>> > With Me
>> > 'make sure there's a data source, destination, and title
>> > If Trim(.cmbDstSheet.Value) = "" Or _
>> > Trim(.refSrcRange.Value ) = "" Or _
>> > Trim(.txtChartTitle.Value) = "" Then
>> >
>> >
>> > I am getting a compiler error at the word Trim that can't find project
>> > or
>> > library
>> >
>> > the cmbDstSheet.Value is corectly named in the form design as is the
>> > refSrcRange.Value. If I rem out cmb I still get the same error at trim
>> > with
>> > ref
>> >
>> > Any ideas ?
>> >
>> > Thanks
>> >

>>
>>


 
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
Errror handling for 2046 (Cant save records do to data missing/invalid etc..,) Rob W Microsoft Access 1 20th Feb 2008 01:41 AM
Why word files are loosing data and showing data errror? =?Utf-8?B?QyBOIFJhbw==?= Microsoft Word Document Management 1 4th May 2006 07:11 PM
Re: SQLClient Data access errror Cor Ligthert [MVP] Microsoft ADO .NET 0 2nd Sep 2005 11:50 AM
Re: SQLClient Data access errror William \(Bill\) Vaughn Microsoft ADO .NET 0 1st Sep 2005 04:13 AM
Errror when trying to install XP "Data Error (cycle redundancy check) Brian Windows XP General 0 11th Sep 2004 08:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 AM.