Modify a simple VBScript code

Zaprto Objavljeno pred 6 letoma/leti Plačilo ob prevzemu
Zaprto

Modify the code so the I would put numbers from 1 to 253 into an array.

Instead of this:

If CurrentOffset = 1 Then

ZOffset=GetVar(5223)

ElseIf CurrentOffset = 2 Then

ZOffset=GetVar(5243)

ElseIf CurrentOffset = 7 Then

ZOffset=GetVar(5343)

ElseIf CurrentOffset = 4 Then

ZOffset=GetVar(5283)

ElseIf CurrentOffset = 15 Then

ZOffset=GetVar(5503)

ElseIf CurrentOffset = 18 Then

ZOffset=GetVar(5563)

....

It would look like this:

array=(1,2,7,4,15,18)

VBScript

ID projekta: #15775275

Več o projektu

1 predlog Oddaljen projekt Aktiven pred 6 letoma/leti

1 freelancer ponuja v povprečju €16 za to delo

abhinovpankaj

I have been working as freelancer since last ~ 5 years,prior to this was working with a MNC as an Sr. Software Professional. Below are some key areas of my skills: -- VBA and Excel,Word,Office Applications,VBSCr Več

€16 EUR / ura
(0 ocen)
0.0