+ Reply to Thread
Results 1 to 4 of 4

autofill code

  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    96

    autofill code

    how can i use this code in a sheet that Destination range should be first asked through input box , and then it will autofill that column, the values given by inputboxes

    Please Login or Register  to view this content.
    ie first inputbox gets value for F1 and second inputbox gets value for F226 or whatever i want to give in inputbox.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: autofill code

    try this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-11-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    96

    Re: autofill code

    dear stnkynts when i run this code, it will ask me again and again for input box values , i want it will ask for r1box value and then r2box value and then perform his task and stops the code, but it again ask for r1box value . plz correct it

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: autofill code

    It should only be prompting you for the 2 ranges once, each time the code is run. If it is prompting you multiple times then you have done something incorrect such as putting the code as part of a worksheet change procedure.

+ 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. [SOLVED] VBa code for autofill column
    By Maxy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2013, 07:03 AM
  2. Autofill code error
    By stevetothink in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2013, 01:17 PM
  3. [SOLVED] VBA Code (colums to row, autofill) stop working in row 294 when new cable code appear
    By sknifseht in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2012, 05:27 AM
  4. Autofill code
    By fusion007 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-03-2011, 03:45 PM
  5. Excel 2007 : Macro Autofill code?
    By jesz1987 in forum Excel General
    Replies: 9
    Last Post: 02-10-2011, 09:50 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