@Sanjay Basnet Create a duplicate of any action from Ms-Excel VBO and than use the code given by Murali . It will work , it works for me .
You can follow the steps below.1. Go to "Open Workbook" page and duplicate it.2. Go to "Open Workbook - Copy" page and open the "Open Workbook" code stage.3. Replace the code by this code below and rename this stage and pageDim wb as Object = GetInstance(handle).Workbooks.Open(FileName:=filename,ReadOnly:=True)name = wb.Namewb.Activate()4. That's all. And you can public this page and use it.Or you can add any parameters if you need them to do some excel manipulation.ExampleDim wb as Object = GetInstance(handle).Workbooks.Open(filename,UpdateLinks:=updatelinks,ReadOnly:=readonly1,Password:=password,WriteResPassword:=writerespassword,IgnoreReadOnlyRecommended:=True)name = wb.Namewb.Activate()
------------------------------
Vipul Tiwari
Senior Process Simplification Developer
Amazon
------------------------------