Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 09-22-2006, 12:32 PM VBA Weirdness
Junior Talker

Posts: 4
Name: Brendan
Trades: 0
I'm trying to use the Mid function in VBA 6.3, and I'm getting "Compile error: Can't find project or library", highlighting the Mid function name. The function is listed in the library browser, but if you try to ask it for its definition, it gives me "Identifier under cursor is not recognized".

Somehow VBA thinks it's not defined, but it really is. How can I get this method to comple, or are there any alternative methods, for just replacing one substring with another?
BRLorimer is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-22-2006, 12:41 PM Re: VBA Weirdness
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You could use left and right to hack away at the ends of your strng. It's basically the same thing, only with more code.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-22-2006, 05:01 PM Re: VBA Weirdness
Junior Talker

Posts: 4
Name: Brendan
Trades: 0
That's always one way of doing it. It turns out it was a sort of dependency issue, and starting a new project basically fixed it on its own.
BRLorimer is offline
Reply With Quote
View Public Profile
 
Old 09-23-2006, 12:06 AM Re: VBA Weirdness
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Cool. Glad I could help (although I really didn't.)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to VBA Weirdness
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23528 seconds with 12 queries