Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to comp.lang.java.javascript,comp.lang.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Help Please! Thanks in advance.

The following syntax is what I found under the Help in Excel's VBA
Editor (you may refer to it for the details of each parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as I wished to open
in
Write mode. Instead, still saw (Read Only) above the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read & Write. How to
specify the parameters to open in Read & Write in javascript given the
syntax?

Thanks very much.
  #2   Report Post  
Posted to comp.lang.java.javascript,comp.lang.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help Please! Thanks in advance.

I suspect the file's readonly attribute is set - you will need to change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in message
om...
The following syntax is what I found under the Help in Excel's VBA
Editor (you may refer to it for the details of each parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as I wished to open
in
Write mode. Instead, still saw (Read Only) above the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read & Write. How to
specify the parameters to open in Read & Write in javascript given the
syntax?

Thanks very much.



  #3   Report Post  
Posted to comp.lang.java.javascript,comp.lang.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Help Please! Thanks in advance.

How to change file IO?

"Tom Ogilvy" wrote in message ...
I suspect the file's readonly attribute is set - you will need to change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in message
om...
The following syntax is what I found under the Help in Excel's VBA
Editor (you may refer to it for the details of each parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as I wished to open
in
Write mode. Instead, still saw (Read Only) above the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read & Write. How to
specify the parameters to open in Read & Write in javascript given the
syntax?

Thanks very much.

  #4   Report Post  
Posted to comp.lang.java.javascript,comp.lang.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Help Please! Thanks in advance.

Oops! I meant how to change excel file's readonly attribute using file
IO. Any details? Thanks.


"Tom Ogilvy" wrote in message ...
I suspect the file's readonly attribute is set - you will need to change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in message
om...
The following syntax is what I found under the Help in Excel's VBA
Editor (you may refer to it for the details of each parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as I wished to open
in
Write mode. Instead, still saw (Read Only) above the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read & Write. How to
specify the parameters to open in Read & Write in javascript given the
syntax?

Thanks very much.

  #5   Report Post  
Posted to comp.lang.java.javascript,comp.lang.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help Please! Thanks in advance.

I am talking about changing the file attribute readonly. In VBA this would
be done using setattr

SetAttr "TESTFILE", vbNormal

Your open command gives the option of ignoring readonly recommended which
is Excel's method of making a file readonly.

--
Regards,
Tom Ogilvy



"Derek Richards" wrote in message
om...
Oops! I meant how to change excel file's readonly attribute using file
IO. Any details? Thanks.


"Tom Ogilvy" wrote in message

...
I suspect the file's readonly attribute is set - you will need to

change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in message
om...
The following syntax is what I found under the Help in Excel's VBA
Editor (you may refer to it for the details of each parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as I wished to open
in
Write mode. Instead, still saw (Read Only) above the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read & Write. How to
specify the parameters to open in Read & Write in javascript given the
syntax?

Thanks very much.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Help Please! Thanks in advance.

Based on syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format,
Password, WriteResPassword, IgnoreReadOnlyRecommended,
Origin, Delimiter, Editable, Notify, Converter, AddToMRU)

I wrote in JavaScript.

e.Workbooks.Open(myFile, null, false, null, null, null,
true)

also i tried all kinds of combinations of true and false
in the entries in case the method was written wrong by
microsoft. It was always able to open excel files, but
always in read-only: saw (Read Only) above the MenuBar on
the upper left corner when an excel file is opened.





-----Original Message-----
I am talking about changing the file attribute readonly.

In VBA this would
be done using setattr

SetAttr "TESTFILE", vbNormal

Your open command gives the option of ignoring readonly

recommended which
is Excel's method of making a file readonly.

--
Regards,
Tom Ogilvy



"Derek Richards" wrote in message
. com...
Oops! I meant how to change excel file's readonly

attribute using file
IO. Any details? Thanks.


"Tom Ogilvy" wrote in message

...
I suspect the file's readonly attribute is set - you

will need to
change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in

message

om...
The following syntax is what I found under the Help

in Excel's VBA
Editor (you may refer to it for the details of each

parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as

I wished to open
in
Write mode. Instead, still saw (Read Only) above

the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly,

Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended,

Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read

& Write. How to
specify the parameters to open in Read & Write in

javascript given the
syntax?

Thanks very much.



.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help Please! Thanks in advance.

We are going in circles here. As I said, it sounds like you need to change
the file attribute of the file before you try to open it. This isn't done
with the Open command. You can also change IgnoreReadOnlyRecommended to
True, but I doubt this is the source since you have not been prompted.

Select the file in windows explorer and look at properties - I suggest that
the readonly property will be set. This is what you need to change.

--
Regards,
Tom Ogilvy



"Derek" wrote in message
...
Based on syntax

expression.Open(FileName, UpdateLinks, ReadOnly, Format,
Password, WriteResPassword, IgnoreReadOnlyRecommended,
Origin, Delimiter, Editable, Notify, Converter, AddToMRU)

I wrote in JavaScript.

e.Workbooks.Open(myFile, null, false, null, null, null,
true)

also i tried all kinds of combinations of true and false
in the entries in case the method was written wrong by
microsoft. It was always able to open excel files, but
always in read-only: saw (Read Only) above the MenuBar on
the upper left corner when an excel file is opened.





-----Original Message-----
I am talking about changing the file attribute readonly.

In VBA this would
be done using setattr

SetAttr "TESTFILE", vbNormal

Your open command gives the option of ignoring readonly

recommended which
is Excel's method of making a file readonly.

--
Regards,
Tom Ogilvy



"Derek Richards" wrote in message
. com...
Oops! I meant how to change excel file's readonly

attribute using file
IO. Any details? Thanks.


"Tom Ogilvy" wrote in message

...
I suspect the file's readonly attribute is set - you

will need to
change
that using file io.

--
Regards,
Tom Ogilvy

Derek Richards wrote in

message

om...
The following syntax is what I found under the Help

in Excel's VBA
Editor (you may refer to it for the details of each

parameter). i
specified to open in Write
mode (Read Only is false), it doesn't do the way as

I wished to open
in
Write mode. Instead, still saw (Read Only) above

the MenuBar on the
upper
left corner when an excel file is opened.


Syntax

expression.Open(FileName, UpdateLinks, ReadOnly,

Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended,

Origin, Delimiter,
Editable, Notify, Converter, AddToMRU)


Here I care nothing else but opening a file in Read

& Write. How to
specify the parameters to open in Read & Write in

javascript given the
syntax?

Thanks very much.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
An Advance IF Manos Excel Worksheet Functions 3 October 2nd 08 02:54 PM
Cell advance i.e. tab Rita Palazzi Excel Discussion (Misc queries) 3 January 16th 07 11:51 PM
find value one row in advance of specified value broer konijn Excel Worksheet Functions 3 June 13th 06 12:30 PM
I need a little help...thanks in advance Jambruins Excel Discussion (Misc queries) 1 August 3rd 05 06:00 PM
Here's one for you...(thanks for the help in advance) Jambruins Excel Discussion (Misc queries) 2 July 15th 05 07:41 PM


All times are GMT +1. The time now is 07:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"