About 400 results
Open links in new tab
  1. Create custom functions in Excel - Microsoft Support

    Although Excel includes a multitude of built-in worksheet functions, chances are it doesn’t have a function for every type of calculation you perform. Custom functions, like macros, use the Visual …

  2. Run a macro in Excel - Microsoft Support

    In Excel, you run a macro manually or automatically. A macro is an action or a set of actions that you can use to automate tasks. This topic shows you several ways to run macros manually or automatically.

  3. Quick start: Create a macro - Microsoft Support

    If you have tasks in Microsoft Excel that you do repeatedly, you can record a macro to automate those tasks. A macro is an action or a set of actions that you can run as many times as you want. When …

  4. Automate tasks with the Macro Recorder - Microsoft Support

    To automate a repetitive task, you can record a macro with the Macro Recorder in Microsoft Excel. Imagine you have dates in random formats and you want to apply a single format to all of them.

  5. Assign a macro to a Form or a Control button - Microsoft Support

    In the sections below, learn how to add a macro to a button in Excel—for Windows or the Mac. Note: ActiveX controls are not supported on the Mac.

  6. Format Function - Microsoft Support

    Use the Format function in an expression You can use Format wherever you can use expressions. For example, you can use it in a query as part of a field alias, or in the Control Source property of a text …

  7. Enable or disable macros in Microsoft 365 files

    Improve security, evaluate and mitigate the risks of running macros, and see how to enable or disable macros for Microsoft 365.

  8. Visual Basic macro examples for working with arrays

    End Sub Select Sheet1. On the Tools menu, point to Macro and then click Macros. In the Macro dialog box, click Sheet_Fill_Array, and then click Run. To Take Values from a Worksheet and Fill the Array …

  9. Working with Excel 4.0 macros - Microsoft Support

    Although Microsoft Excel still supports Excel 4.0 (XLM) macros, we encourage you to migrate them to the latest version of Microsoft Visual Basic for Applications (VBA). Migrating your macros lets you …

  10. Round Function - Microsoft Support

    Syntax for the function that returns a number rounded to a specified number of decimal places in Access.