troubleshooting Question

Create Spreadsheet from Access

Avatar of LJShepherd
LJShepherd asked on
Microsoft OfficeMicrosoft AccessMicrosoft Excel
13 Comments1 Solution399 ViewsLast Modified:

I have a number of spreadsheets that I have created and are populated by Access.

However I want to set these as Read only when they are opened by users, but retain Write properties when exporting data from Access

This is the command I am using to export the data to my spreadsheets

    stQryName = "All Internal Ncr by Customer Qry"
    DoCmd.TransferSpreadsheet (acExport), acSpreadsheetTypeExcel9, stQryName, "\\server\Databases\Internal NCR\Spreadsheets\All by Customer.xls"

Is there a simple command that I can add to make the spreadsheet read only, but still allow me to export access data to it.

Phil Stratford

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros