Excel – What does EMBED function mean in Excel Controls

excelexcel-formula

I am adding a button in an existing Excel file. I noticed that the existing buttons has the EMBED formula specified to it. What does the function mean?

=EMBED("Forms.CommandButton.1","")

Best Solution

Honestly there really is not much documentation available on this "function". It is one of those things which are exposed unnecessarily when it really shouldn't have been. We are not supposed to enter this manually.

When you select a CommandButton and place it in Excel, you will see

=EMBED("Forms.CommandButton.1","") 

in the Formula Bar. This text is necessary and should not be deleted. It is Excel's way of telling itself that an object has been inserted.