|
-
Jul 16th, 2008, 03:34 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] update from 2003... Mid() function
Hey all,
Just updating a 2003 workbook to 2007 ... and running into something I can't figure out.
I have the exact same references in both my 2003 and 2007 version, but for some reason the following code won't compile "with object/library missing" (as I said all the same references though)...
temp = Mid$(FileName, x, 1)
so I tried
temp = Mid(FileName, x, 1)
doesn't work either..
any suggestions?
thanks much
-
Jul 16th, 2008, 03:40 PM
#2
Thread Starter
Hyperactive Member
Re: update from 2003... Mid() function
why I say same refs... obviously the excel and vba object libraries went to 12.0 from 11.0.
did the Mid function change or something?
-
Jul 16th, 2008, 03:50 PM
#3
Thread Starter
Hyperactive Member
Re: update from 2003... Mid() function
turns out for other stuff like UCase() and other string manip
guess my question is what library does the string manipulation come from?
-
Jul 16th, 2008, 04:09 PM
#4
Thread Starter
Hyperactive Member
Re: update from 2003... Mid() function
meh figured it out...
had to put VBA.Mid(...
or VBA.UCase(...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|