fibonacci sequence

  1. E

    Fibonacci sequence generator overflow

    Hello, I wrote a piece of code that would generate fibonacci sequence, but there is no data type that can hold such big numbers, is there a workaround to make the code contiune to do the math with big numbers? Thanks. Option Explicit Sub Fibonacci() Dim i As LongPtr, k As LongPtr i =...
  2. S

    Fibonacci Calculator

    Trying to get this to generate the Fibonacci sequence from 0 to that whatever number the user inputs and siplay the result in a messagebox. Very lost. Sub Fib() Dim Fibonacci As Variant Dim n As Integer n = InputBox("Enter a number") If (n <= 0) Then Fibonacci = 0 ElseIf (n = 1) Then Fibonacci...
  3. B

    Fibonacci sequence help in VBA!!!

    Ask the user to enter a number. Generate the Fibonacci sequence from 0 to that number.

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top