Criar um campo de fórmula para uma pasta
In the Navigation Pane, select the folder for which you want to create the formula field.
On the View tab, in the Current View group, click View Settings.
In the Advanced View Settings: <view> dialog box, click Columns.
In the Show Columns dialog box, click New Column.
In the Name box, type a name for the column.
In the Type box, click Formula.
Click Edit.
To insert a function in the formula, click Function, point to the function set that you want, and then click the formula that you want.
To insert a field in the formula, select the argument that you want to replace, click Field, point to the field set that you want, and then click the field that you want.
Click OK twice.
To position the field between the other fields in the view, click the field, and then click Move Up or Move Down.
To remove the field from the view, click Remove.
Observação
Suporte e comentários
Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.