+ Reply to Thread
Results 1 to 4 of 4

Shortcut to repeat instruction over multiple cells

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Shortcut to repeat instruction over multiple cells

    Hi all, I have a snippet of code below which basically looks at the value in cell AG10 (10,33) and then in all valid rows in column AG (33) populates the values drawn in. This is rows 1,2 and 3 of the code below. Rows 4,5,6 do exatcly the same, but this time refernece cell AH11 (10,34) and then in all valid rows in column AH (34) populates the data.

    I need this to do the same up to column OC (212) but am hoping that instead of my copying the same 3 lines of code multiple times there would be a better way to code this to do it in a few lines?

    Any help much appreciated and suggestions welcome

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Shortcut to repeat instruction over multiple cells

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Re: Shortcut to repeat instruction over multiple cells

    Perfect thanks

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Shortcut to repeat instruction over multiple cells

    You're welcome. Glad I can offer little help

+ 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] How to repeat an instruction instead of copying it hundreds of times?
    By Hellion in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-28-2016, 08:18 AM
  2. [SOLVED] How to make repeat long numbers shortcut ?
    By toyota58 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  3. [SOLVED] How to make repeat long numbers shortcut ?
    By Bernard Liengme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 09:05 AM
  4. How to make repeat long numbers shortcut ?
    By toyota58 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  5. [SOLVED] How to make repeat long numbers shortcut ?
    By toyota58 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. [SOLVED] How to make repeat long numbers shortcut ?
    By toyota58 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] How to make repeat long numbers shortcut ?
    By toyota58 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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