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
Solved

Save output file to have permissions for everyone

Posted on 2011-09-06
2
246 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

856 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