View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
musa.biralo musa.biralo is offline
external usenet poster
 
Posts: 55
Default Open file when ribbon button is clicked.

hello there,

I have to open a file that's in network (\\musabiralo\excel.xls). I
want to open this file when a button of a ribbon is clicked. I am
working on vb.net. I have VSTO installed.

I am using ribbon UI. Could you please help me?

I tried, File.Open(filePath, FileMode.Open, FileAccess.Read). This is
throwing an error.

Please help.

thanks
musa.biralo