Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with string functions on another's machine

Status
Not open for further replies.

clumsycanadian

Programmer
Jul 27, 2005
6
CA
Hello,
I wrote a program in VBA which works just fine on mine and my colleagues' machines but for some reason, the program runs into an error when executing any statements using RIGHT or MID string functions on my manager's machine. I do not remember the error message, but I think it was something along the lines of 'unrecognizable function.' I ensured that "Visual Basic for Applications" is referenced. How is it possible that my manager's machine runs into error with these 2 functions? Does anyone have any suggestions or an explanation for this. Thanks in advance.

I should also point out that all the computers here are identical in just about every way and that we are using Excel 2000.
 
Double check the references:
menu Tools -> References ...

Does the project compile properly ?
menu Debug -> Compile VBAProject

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks for the reply PHV,
I did double check, the references (triple checked actually). As for compiling, that option is not available/enabled when I go to menu Debug. The program I made is just a simple "wizard" using a UserForm that is shown when a button is clicked on a workSheet. Nothing fancy. The string functions that are not working are used in the userForm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top