Closed Thread
Results 1 to 7 of 7

Vba code for creating Fibonacci Series

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Vba code for creating Fibonacci Series

    I want to create Fibonacci series using FOR….NEXT in VBA and want to throw an input box to user to enter the number till when he want this series.
    Suppose he enter 10 then i want the output as 1,1,2,3,5,8,13,21,34,55....

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Vba code for creating Fibonacci Series

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Vba code for creating Fibonacci Series

    Here is an alternate solution that give you the results in a spreadsheet. Just a different twist to the same answer.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Vba code for creating Fibonacci Series

    Thanks Dear For your help :-)

  5. #5
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Vba code for creating Fibonacci Series

    Thanks Friend for yout help

  6. #6
    Registered User
    Join Date
    09-19-2016
    Location
    Massachusetts, USA
    MS-Off Ver
    2016
    Posts
    1

    Re: Vba code for creating Fibonacci Series

    PLEASE! NEED A LOT OF HELP!
    Need to create a macro enabled button that will prompt the user to enter the first two numbers in a Fibonacci sequence and the total number of elements in the sequence. Then display the results of the sequence in a series of message boxes.
    THANK YOU!

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Vba code for creating Fibonacci Series

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1