WorksheetFunction.Bitrshift (Excel)

Returns a value number shifted right by shift_amount bits.

Bitrshift (Arg1, Arg2)

Dim dblArg1 As Double: dblArg1 = 
Dim dblArg2 As Double: dblArg2 = 
Dim dblBitrshift As Double
dblBitrshift = WorksheetFunction.Bitrshift(Arg1:=dblArg1, Arg2:=dblArg2)


Arg1, Arg2

Arg1 (Double) - The decimal representation of the binary number that you want to evaluate.

Arg2 (Double) - The number of bits that you want to shift Arg1 right by.