G
Guest
I want print pages of a report as follows 1, 1A, 1B, 1C
Right now I have a unbound text box (named text10) in the page footer next
to "Page 1" and have written a OnFormat event procedure as follows:
If Page = 1 Then
Text10 = "" gives me "Page 1"
End If
If Page = 2 Then
Text10 = "A" gives me "Page 1A"
End If
If Page = 3 Then
Text10 = "B" gives me "Page 1B"
End If
If Page = 4 Then
Text10 = "C" gives me "Page 1C"
End If
Is there a better way of doing this without all the if statements? I'm new
to VBA Code writing
Right now I have a unbound text box (named text10) in the page footer next
to "Page 1" and have written a OnFormat event procedure as follows:
If Page = 1 Then
Text10 = "" gives me "Page 1"
End If
If Page = 2 Then
Text10 = "A" gives me "Page 1A"
End If
If Page = 3 Then
Text10 = "B" gives me "Page 1B"
End If
If Page = 4 Then
Text10 = "C" gives me "Page 1C"
End If
Is there a better way of doing this without all the if statements? I'm new
to VBA Code writing