What do you want to save?
Add Code snippet
New code examples
-
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 -
VBA 2021-11-06 13:20:24
excelvba return a 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-10-30 01:48:03
excel how to return a result from a VBA 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-10-18 19:05:10
vba string array
'In VBA a dynamic string array is declared in the following ways: Dim strArr1() As String Dim strArr2$() 'Neither declaration style is prefered. They are exactly equivalent. 'Both ways above produce a dynamic array, which means that the exact size of '... Add solution -
C++ 2021-10-07 03:50:02
deque c++
/* A deque is a dynamic array whose size can be efficiently changed at both ends of the array. Like a vector, a deque provides the functions push_back and pop_back, but it also includes the functions push_front and pop_front. */ deque<int> d; d.p... Add solution -
Other 2021-09-27 12:26:04
clear array vba
'In VBA to reset a dynamic array of Longs or Doubles to all zeros, the simplest way 'is to use the Redim() function. It's also extremely fast, roughly four times 'faster than iterating over the array to set each element. Sub Test_ArrayZeroing() Dim ... Add solution -
VBA 2021-09-22 15:37:03
vba static array declaration
'VBA arrays can be fixed-size (static) or resizable (dynamic). 'This is determined when the array is declared: Dim vArrA() 'dynamic: size is determined later. Dim vArrB(1 to 5) 'static: size is determined now and cannot be changed. 'Array size refers ... Add solution -
VBA 2021-09-16 10:23:02
xl-vba return a 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