+ Reply to Thread
Results 1 to 4 of 4

Macro to do autofill based on InputBox

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    30

    Macro to do autofill based on InputBox

    Hello.

    I need a macro to do an autofill in the A column based on an InputBox. It should start in cell A3 with the value 1, and continue A4=2, A5=3 until the cell value reaches the value from the InputBox.

    Is this doable?

    BeerKing

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

    Re: Macro to do autofill based on InputBox

    Try this:

    Please Login or Register  to view this content.
    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

  3. #3
    Registered User
    Join Date
    05-04-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Macro to do autofill based on InputBox

    Thank you, this worked just fine :D

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

    Re: Macro to do autofill based on InputBox

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to plot graph based on date from inputbox
    By reesjordan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-30-2013, 07:52 AM
  2. [SOLVED] Find and Replace Macro Based on Cell Reference and Inputbox
    By bwaite87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2013, 10:46 AM
  3. Macro to Autofill to Last Row using variable from InputBox - new to VBA
    By MichaelGG1581 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2013, 02:01 PM
  4. Macro to autofill a IF function based on the column before it
    By capnhud in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-16-2010, 11:58 AM
  5. Autofill macro based on above data
    By shoey72 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2008, 10:02 AM

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