PC Review


Reply
Thread Tools Rate Thread

open not as readonly

 
 
theintern
Guest
Posts: n/a
 
      4th Sep 2008
Can anyone tell me how to program it to open the file, not as a read only? I
can't use a call shell method because somepeople are running OFFICE11 and
others OFFICE12 so the folders for Microsoft project aren't consistent. thus
i have to use the following method, but when doing so it opens it as a
readonly, not allowing me to save changes when i'm done.

thanks!
scott

Public Function TriFilter2()

Dim pr As MSProject.Application

DoCmd.SetWarnings False

Set pr = New MSProject.Application
pr.Visible = False
pr.FileOpen ("U:\Estimating Log\Est Schedule\Take-offIndividual.mpp")

DoCmd.SetWarnings True


End Function
 
Reply With Quote
 
 
 
 
Graham Mandeno
Guest
Posts: n/a
 
      4th Sep 2008
Hi Scott

Once again, I suggest you post in the applicable forum - in this case MS
Project.
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"theintern" <(E-Mail Removed)> wrote in message
news:6D97D4F4-B9CB-4556-AEF3-(E-Mail Removed)...
> Can anyone tell me how to program it to open the file, not as a read only?
> I
> can't use a call shell method because somepeople are running OFFICE11 and
> others OFFICE12 so the folders for Microsoft project aren't consistent.
> thus
> i have to use the following method, but when doing so it opens it as a
> readonly, not allowing me to save changes when i'm done.
>
> thanks!
> scott
>
> Public Function TriFilter2()
>
> Dim pr As MSProject.Application
>
> DoCmd.SetWarnings False
>
> Set pr = New MSProject.Application
> pr.Visible = False
> pr.FileOpen ("U:\Estimating Log\Est Schedule\Take-offIndividual.mpp")
>
> DoCmd.SetWarnings True
>
>
> End Function



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel WB opened from Sharepoint as ReadOnly, ReadONLY for WB = FAL Barb Reinhardt Microsoft Excel Programming 0 19th Jan 2010 11:44 PM
datagridviewcolumn.readonly not really readonly boo@gmail.com Microsoft VB .NET 0 31st May 2007 01:42 AM
Textbox readonly -> but not with readonly property Milosz - [playseven.com] Microsoft Dot NET Compact Framework 3 1st Mar 2004 01:27 PM
Thoughts on readonly collection of readonly elements emma middlebrook Microsoft C# .NET 0 11th Jan 2004 07:42 PM
Workbook will not open as readonly Quoc Nguyen Microsoft Excel Crashes 3 22nd Aug 2003 10:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 AM.