Solved

Save output file to have permissions for everyone

Posted on 2011-09-06
2
248 Views
Last Modified: 2012-05-12
Hello,

I have a VB script code running in excel which saves a demilited file but I want to save it so everone will have full control on the file kindly help. I have the below code that saves it.

.SaveAs Filename:=sFileName, FileFormat:=xlText, CreateBackup:=False
0
Comment
Question by:welcome 123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
ragnarok89 earned 500 total points
ID: 36490611
I do not believe this is possible, since Permissions are controlled by Active Directory. Typically only network administrators have access to AD.

That being said, what you could do is create (or have your admin create) a folder whith the explicit permission that Everyone has Full Control over the FILES in that folder. This way, when you, or anyone modifies the file (or any file in that folder) it will simply inherit the desired permissions set at the folder level.

Al
0
 

Author Closing Comment

by:welcome 123
ID: 36493164
You are right. I did that. Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question