This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function CreateProposal(clientName As String, | |
clientId As Integer, | |
title As String, | |
subtitle As String, | |
projectName As String, | |
reportDate As Date, | |
preparedBy As String, | |
reviewedBy As String, | |
authoredBy As String, | |
fontSize As Integer) As Boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function CalculateTotal(sProductId As String, | |
iQuantity As Integer, | |
dUnitPrice As Double) As Double | |
'''' | |
' etc. | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Test(L1 As Long, L2 As Long, Optional P1 As Variant, Optional P2 As Variant) As String | |
Dim S As String | |
If IsMissing(P1) = True Then | |
S = "P1 Is Missing." | |
Else | |
S = "P1 Is Present (P1 = " & CStr(P1) & ")" | |
End If | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function CalculateHourlyRate() | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Const PASSWORD_LENGTH = 7 | |
Sub SetPassword(password As String) | |
If (Len(password) > PASSWORD_LENGTH) Then | |
' Display error | |
End If | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub SetPassword(password As String) | |
If (Len(password) > 7) Then | |
' Display error | |
End If | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = i + 1 ' increment i by one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> | |
<ribbon startFromScratch="false"> | |
<tabs> | |
<tab id="customTab" label="Custom Tab"> | |
<group id="customGroup" label="Custom Group"> | |
<button id="customButton" label="Custom Button" imageMso="HappyFace" size="large" /> | |
</group> | |
</tab> | |
</tabs> | |
</ribbon> |
NewerOlder