<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
All,<BR>
<BR>
It seems that Ruby has a problem with using variables in certain scenarios. Previously, I was passing a parameter to a class named 'Test' with a function in it named 'go'. This is the syntax that I used, Test.new.go('hello') The function 'go' would open a .xls file with the parameter in the path, such as C:\hello\data.xls. Everything was working fine then. Now, instead of using the actual string 'hello' as the parameter, I am using an array element variable, so the syntax is Test.new.go(array[x]). Now the 'go' function throws the ''File not found' error. In the error message, both the path and file are correct, so I do not understand why the file cannot be found. Does anyone have any idea about what could be going on? Thanks in advance for any help.<BR> <BR>- Shelton<BR><RTE_TEXT></RTE_TEXT><BR><br /><hr />You live life online. So we put Windows on the web. <a href='http://clk.atdmt.com/MRT/go/127032869/direct/01/' target='_new'>Learn more about Windows Live </a></body>
</html>