Skip to main content
Commonmark migration
Source Link

#Excel VBA, 29 bytes

Excel VBA, 29 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

?1:For i=2To[A1]:?i-1 &i:Next

#Excel VBA, 29 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

?1:For i=2To[A1]:?i-1 &i:Next

Excel VBA, 29 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

?1:For i=2To[A1]:?i-1 &i:Next
deleted 4 characters in body
Source Link
Taylor Raine
  • 8.8k
  • 2
  • 28
  • 51

#Excel VBA, 3329 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

?1:For i=0To[A1-1]i=2To[A1]:?Val(i-1 &i+1)&i:Next

#Excel VBA, 33 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

For i=0To[A1-1]:?Val(i &i+1):Next

#Excel VBA, 29 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

?1:For i=2To[A1]:?i-1 &i:Next
Source Link
Taylor Raine
  • 8.8k
  • 2
  • 28
  • 51

#Excel VBA, 33 bytes

An anonymous VBE immediate window function that takes input from cell [A1] and outputs to the console.

For i=0To[A1-1]:?Val(i &i+1):Next