RamblingCookieMonster / PSExcel

A simple Excel PowerShell module

Home Page:http://ramblingcookiemonster.github.io/PSExcel-Intro/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReadOnly

srsugg opened this issue · comments

I am trying to use PSExcel as a (much) faster way to pull data out of a shared workbook for use in my own analysis (PS) script. The problem is that someone always has the workbook open (for editing). Using the COM Object model, I was able to specify to open the workbook in read-only mode, so it didn't matter if someone else already had it open (in edit mode). Is there currently a way (or can a way be added) to open the workbook in read-only mode?

Hiyo!

Looks like this is definitely possible - ImportExcel will do it out of the box if it already meets your needs - otherwise, could adapt the changes from this commit by @francoislg

I'd totally take a pull request - otherwise, might be a little while until I get to it

Cheers!