+ Reply to Thread
Results 1 to 2 of 2

Autofill to the right for variable amount of columns

  1. #1
    Registered User
    Join Date
    07-28-2013
    Location
    chicago
    MS-Off Ver
    Excel 2011
    Posts
    1

    Autofill to the right for variable amount of columns

    Hi all,

    I am trying to right a code that will autofill to the right in a row from the selected cell till there is no more data. So I will have fixed rows 3 and 4 with data starting at E3 and E4 but the amount of columns is going to change.

    I want to E5 to be E3*.05 and apply to all the number in row 3 until last column with data. So then F5 would be F3*.5. I apologize if this is confusing, I am very new to vba.

    Any help is greatly appreciated.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: Autofill to the right for variable amount of columns

    Please Login or Register  to view this content.
    Last edited by protonLeah; 07-28-2013 at 05:33 PM.
    Ben Van Johnson

+ 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] Macro to concatenate variable amount of columns
    By phil3061 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2013, 02:53 PM
  2. [SOLVED] Transpose Variable Amount of Columns in Range
    By Ronjay24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 04:25 PM
  3. Replies: 1
    Last Post: 05-13-2010, 09:50 AM
  4. Summation across of a variable amount of columns VBA formula
    By Kaigi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2009, 11:07 PM
  5. Macro for dragging formulas a variable amount of columns
    By nms2130 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2009, 04:00 PM

Tags for this Thread

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