Where can I find evey VBA expressions?

makiwara

Board Regular
Joined
Mar 8, 2018
Messages
171
Hi! I am new to VBA and I am looking for a book or website, which contains every "expressions" in VBA.

Every time I have a small exercise, and I try to figure out the solution, it's annoying that there are always new "expressions" in the soluton, which I have never seen before. So it's impossible to figure out things you haven't heart about until that moment.

For example "Insert multiple rows":

Sub InsertMultipleRows()
Dim i As Integer
Dim j As Integer
ActiveCell.EntireRow.Select
On Error GoTo Last
i = InputBox("Enter number of columns to insert", "Insert Columns")
For j = 1 To i
Selection.Insert Shift:=xlToDown, CopyOrigin:=xlFormatFromRightorAbove
Next j
Last:Exit Sub
End Sub"And it contains "On error go to last" or "xlFormatFromRightorAbove" expressions and so on, which I haven't seen before.
Or I could mention an easy "Font.Bold.=True" expression too...

So I need a website, or list, where every "expression" is listed and I can think about them, which to use or combine. Thank for your time and energy! Have a nice day!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Search for the Excel Bible, its a file that is available on the internet
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,842
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top