View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vit[_2_] Vit[_2_] is offline
external usenet poster
 
Posts: 15
Default VBA Code to open an Excel file on a sharepoint site

I have foud it....

Workbooks.CanCheckOut....

thanks anyway

cheers

Vit

On Sep 4, 9:57*am, Vit wrote:
Hi all,

I'm trying to write a macro on an excel file that open another excel
file (stored on a sharepoint site), copy and paste some data...

the problem is to open the file stored in the sharepoint site...

I'm using this:

Application.FollowHyperlink "http://test:8080/PWA/ProjectDocuments/00
MS Excel File/Direct Cost Summary.xls", , , True

the problem is that in this way I'm opening the file in "Read Only"...

where, in the VBA can I set this value????

thanks all

Cheers

Vit