Jump to content

Recommended Posts

Posted (edited)

Hi,

We have our scheduler in TEAMS as an Excel file. The file is constantly changed, so I would like to open it and read data from it to show who's at work and who have different kinds of roles. 

I want to ask if it's possible to open a file in Microsoft TEAMS and read the content in the cells and with color format?

Edit: If it's not possible to collect the file, is it then possible to read the content of a cell and the format of it, with colors?

Br

Edited by Valnurat

Yours sincerely

Kenneth.

Posted (edited)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 5/6/2020 at 10:45 AM, Danp2 said:

Have you tried using the Excel UDF to open / manipulate the file?

Expand  

Not yet, I was not aware that it was possible with that.

 

  On 5/6/2020 at 11:16 AM, mLipok said:

Is this Excel file opens directly on website using Office 365 ?

Expand  

I found out there is a link to the file and when I add it to my browser, I get message as you can see in the attachment.

Is that useful?

Teams.PNG

Yours sincerely

Kenneth.

Posted

I have this idea to open the excel file in read only mode. Read all the content and close it again, so it will not be open all the time.

I hope it is possible.

Yours sincerely

Kenneth.

Posted (edited)
  On 5/6/2020 at 12:14 PM, Danp2 said:

First step would be to read the help file entry for _Excel_BookOpen. Then give it a shot and let us know the results.

Expand  

Ok.

Not sure where I can find it.

Can you point me to where it is?

Thank you.

 

Edit: I found it. It part of the installation of AutoIT. :)

Edited by Valnurat

Yours sincerely

Kenneth.

Posted
Posted
  On 5/6/2020 at 1:15 PM, Danp2 said:

If StringLeft($sFilePath, "HTTP") = 0 And Not FileExists($sFilePath) Then Return SetError(2, 0, 0)

Expand  

This line has been added to access Excel workbooks on SharePoint. The function does not check for existance of the file if you use HTTP/HTTPS as protocol.

@Valnurat Could you please check that you have the latest version of AutoIt installed?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

I see. that's a bug and will be fixed quite soon ;)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

As a comparion is not case sensitive I see no need to call StringLower. Do you?

My UDFs and Tutorials:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...