Link to home
Start Free TrialLog in
Avatar of Faraj1969
Faraj1969Flag for Liberia

asked on

Using Macro in Lotus Script

Hi again.

Please EE don't hate me... lol....


I have those fields : LastName_1, LastName_2, LastName_3,......... LastName_13
And I need to use a macro within FOR - NEXT loop to refer to those fields instead of repeating them one by one... how I do that ?

many thanks in advance..
Avatar of RanjeetRain
RanjeetRain

for i = to 13
  msgbox doc."LastName_" + ctr(i)(0)
next i
ASKER CERTIFIED SOLUTION
Avatar of RanjeetRain
RanjeetRain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Faraj1969

ASKER


I love EE.. lol

Many thanx RanjeetRain

Cheers all
At this pace, you are sure to fall in love ... watch Mohabbatein ;-)