Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,259
Community Members
 
Community Events
165
Community Groups

Atlassian Companion does not work with Macros (XLSM)

As you can see in the attachments, Atlassian Companion does not recognize the "xlsm" MACRO file. It is working pretty well as "xlsx" (no macro).

Nevertheless, I want to improve my excel file and Atlassian Companion is a limitation at the moment.

Could you please help me?

Many thanks! 

Best,

Thiago


1.png2.png

3 answers

While the Companion app will open .xlsm in Excel just fine (when you click edit on the attachment), the Office Excel macro on a page is a different matter entirely. 

Turns out you have to save your macro-enabled spreadsheet as .xls (old Office format) instead of .xlsm.  

See this thread: 

https://community.atlassian.com/t5/Confluence-questions/How-to-post-macro-enabled-xlsm-excel-content-on-the-confluence/qaq-p/675830 

Hi @KC Wong, I tried it, but it did not work.

Does this thread help you?

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Atlassian-companion-App-not-able-to-edit-xlsm/qaq-p/1539033 

Apparently Companion version 1.2.5 supports macro-enabled Office documents. 

Hi @KC Wong

thank you for the quick reaction, but unfortunately, It did not solve my problem!

I have installed the most recent version (1.3.1) and actually the problem is before editing.

It does not recognize the "xlsm" MACRO file as you can see in the first post. Am I doing anything wrong?


1.png

I created a completely new page to make sure there is no bugs behind it.

MESSAGE/OUTCOME: "No appropriate attachments


2.png3.png

Can any expert help me here?

Alex K Atlassian Team May 12, 2022

Hi @Thiago Hermida , 

This is not a bug with Atlassian Companion, rather the "Office Excel" spreadsheet viewer macro (also known as Office Connector) does not support XLSM format. 

I found two related bug tickets: 

https://jira.atlassian.com/browse/CONFSERVER-44322

https://jira.atlassian.com/browse/CONFSERVER-40730

 

You should be able to edit the file in Atlassian Companion. You can view the file using the Attachments Macro or Attachments Page. Also the attachment thumbnail on the view page should have an edit button when you hover over it. 

 

Regards,
Alex K (Senior Developer at Atlassian)

Hi @Alex K, many thanks for your support.

Nevertheless, I got confused about your last message.

Below you will find both statements:

1. Office Connector does not support XLSM format

2. You should be able to edit the file in Atlassian Companion

 

How can I solve my problem? Do you have any other suggestion?

 

Best regards,

 

Thiago

Alex K Atlassian Team May 16, 2022

Hi @Thiago Hermida , 

My point is that the Excel macro does not work with XLSM files at this time. This is a bug and I shared related bug tickets. 

Atlassian Companion is separate. There are ways to use Atlassian Companion other than the Excel Macro. Atlassian Companion supports XLSM.

Regards,
Alex K

Hi @Alex K, many thanks for the quick reply.

"There are ways to use Atlassian Companion other than the Excel Macro."

Would you mind to share some of them?

 

Best regards,

 

Thiago

Alex K Atlassian Team May 17, 2022

Hi @Thiago Hermida ,

I mentioned these in my first comment. You can use the attachments macro - there will be an edit button for each attachment, similarly the attachments page will have an edit button associated with each attachment. 

Also if you simply embed the attachment like you showed in this screenshot

attachment-thumbnail.png

Once the page is published, if you hover over the thumbnail, there will be an edit icon (depending on your Confluence version, I think it should be above 7.5) 

 

See "other ways to edit files" here: https://confluence.atlassian.com/doc/edit-files-170494553.html

 

Regards,

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

166 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you