Sending a Teams message from Excel VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-1236328%22%20slang%3D%22en-US%22%3ESending%20a%20Teams%20message%20from%20Excel%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1236328%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20send%20a%20chat%20message%20in%20MS%20teams%20via%20MS%20Excel%20VBA%3F%3C%2FP%3E%3CP%3ETks%2C%3C%2FP%3E%3CP%3EFP%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1236328%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1237222%22%20slang%3D%22en-US%22%3ERe%3A%20Sending%20a%20Teams%20message%20from%20Excel%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1237222%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F586165%22%20target%3D%22_blank%22%3E%40Flex13%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20have%20a%20look%20into%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post-messages%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Egraph%20API%20to%20send%20message%20in%20Teams%20channel.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20you%20can%20look%20into%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2Fen-us%2Fblog%2Fexcel-bpf-todo-and-more%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20flow%3C%2FA%3E%20to%20connect%20to%20Ms%20teams%20from%20Excel.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3ESubhasish%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Is it possible to send a chat message in MS teams via MS Excel VBA?

Tks,

FP

1 Reply

Hi @Flex13 ,

 

Please have a look into graph API to send message in Teams channel.

 

Also you can look into Microsoft flow to connect to Ms teams from Excel.

 

Thanks,

Subhasish