<div>I am loading a file by giving the absolute path, the below code works fine:</div> <div> </div> <div>excel = WIN32OLE::new('excel.Application')<BR> <BR><FONT color=#0000bf> workbook = excel.Workbooks.Open('C:\demo\mation.xls')<BR></FONT> worksheet = workbook.Worksheets(1) <BR> worksheet.Select<BR> excel['Visible'] = true</div> <div> </div> <div> </div> <div><STRONG>I want to use the name of the file to open 'mation.xls', not the entire path 'C:\demo\mation.xls'.</STRONG></div> <div><STRONG></STRONG> </div> <div><STRONG>Please send me a solution for this.</STRONG></div> <div><STRONG></STRONG> </div> <div><STRONG>Thanks in advance</STRONG></div> <div><STRONG></STRONG> </div> <div><STRONG>Vikash
Kumar</STRONG></div> <div> </div><p> 
        
        
                <hr size=1></hr>
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>