What do you want to save?
Add Code snippet
New code examples
-
VBA 2022-03-02 18:35:20
vba left shift operator
'Many programming languages have a bitwise left-shift operator: << 'VBA does not. However, it can be emulated in a performant function: Function ShiftLeft1&(ByVal n&) ShiftLeft1 = 2& * (n And 1073741823): If n And 1073741824 Then Sh... Add solution -
VBA 2021-11-18 01:12:19
xl-vba how to return result from a function
'In VBA, you assign the return value to the name of the function. 'This is different from many languages that use the 'return' keyword: Function Yesterday() As Date Yesterday = Date() - 1 End Function 'VBA functions can be called from other VBA code: ... Add solution -
VBA 2021-11-17 20:39:12
excel VBA return a result function
'In VBA, you assign the return value to the name of the function. 'This is different from many languages that use the 'return' keyword: Function Yesterday() As Date Yesterday = Date() - 1 End Function 'VBA functions can be called from other VBA code: ... Add solution
Best helpers
Ranking is empty