ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open file when ribbon button is clicked. (https://www.excelbanter.com/excel-programming/430130-open-file-when-ribbon-button-clicked.html)

musa.biralo

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


All times are GMT +1. The time now is 04:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com