This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C357A7.083398E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All,
I am trying to calculate an if statement base of a value of 12 =
multiplier. I'd much rather not have to type this all the way up for 60 =
years. How can I turn my if statement into something like If Period =
=3D 12 or multiplier of 12 then?
For Period =3D 1 To TotPmts
'My period Work
If Period =3D 12 Or Period =3D 24 Or Period =3D 36 Or Period =
=3D 48 Or Period =3D 60 _
Or Period =3D 72 Or Period =3D ...........Then
End If
Next Period
Thanks,
Brian P. Hammer
------=_NextPart_000_0008_01C357A7.083398E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>All,</DIV>
<DIV> </DIV>
<DIV>I am trying to calculate an if statement base of a value of =
12=20
multiplier. I'd much rather not have to type this all the way up =
for 60=20
years. How can I turn my if statement into something like If =
Period=20
=3D 12 or multiplier of 12 then?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> For Period =3D 1 To=20
TotPmts<BR>'My period Work</DIV>
<DIV> =
If=20
Period =3D 12 Or Period =3D 24 Or Period =3D 36 Or Period =3D 48 Or =
Period =3D 60=20
_<BR> =
Or=20
Period =3D 72 Or Period =3D ...........Then<BR></DIV>
<DIV> =
End=20
If<BR><BR> Next =
Period<BR></DIV>
<DIV><BR>Thanks,<BR>Brian P. Hammer</DIV></BODY></HTML>
------=_NextPart_000_0008_01C357A7.083398E0--