Atlassian Companion does not work with Macros (XLSM)

Thiago Hermida May 11, 2022

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

0 votes
KC Wong May 12, 2022

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 

Thiago Hermida May 16, 2022

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

0 votes
KC Wong May 11, 2022

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. 

Thiago Hermida May 12, 2022

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

Thiago Hermida May 12, 2022

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

MESSAGE/OUTCOME: "No appropriate attachments


2.png3.png

0 votes
Thiago Hermida May 11, 2022

Can any expert help me here?

Alex K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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)

Thiago Hermida May 16, 2022

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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

Thiago Hermida May 17, 2022

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events