VBA-Excel 326

Visual basic for applications that works only in Microsoft Excel, aka macros
Sorted from new to old.
Card image
MinIF and MaxIF in Excel 2010

MinIF to calculate smallest number matching certain criteria, in Excel 2010 ...

Card image
User-Defined Formatting

Apply special Conditional Formatting, color cells based on their values. This ...

Card image
Open different Filestypes

Populate list of filetypes in Application.GetOpenFilename method. This command ...

Card image
RunRemote

Runs a macro from another workbook without parameters (WB Workbook has to be ...

Card image
Protect VBA

Protect VBA project from inside VBA This is the raw way, there has to be other ...

Card image
Show/hide ribbon

Show or hide Excel ribbon from inside VBA Needed that in one of my projects

Card image
Permission Denied error

Issue: Trying to copy file (Using VB command FileCopy) while that file was ...

Card image
TreeView

A plain pure VBA Treeview control to be used inside Excel (official link has ...

Card image
Listbox height changing issue

Listbox in Excel sometimes have issue adjusting height to items added inside, ...

Card image
Scrolly

Scroll a listbox Using Right-Drag. (Something VBA in Excel lacks) You might ...

Card image
SheetName

Gets a sheet name by referencing sheet ID or Sheet No This is more likely to ...

Card image
XLShortcut_EnableDisable

Disables or Enables certain Excel built-in shortcut. Code has example on how ...

Card image
ChartMaxY + ChartMinY

Calculates the maximum of the chart Y Axis to draw, the shifted one, not exact ...

Card image
Hand.cur

A cursor file type of Hand. used inside VBA to show hand when user hover over ...

Card image
Styles_DeleteNonStandard

Delete styles from an Excel workbook, any non-standard style will be deleted. ...

Card image
Page2Setting

Read content of an html online page into setting value in Excel sheet. ...