+ Reply to Thread
Results 1 to 2 of 2

User to provide input for row to use

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    84

    User to provide input for row to use

    I have a macro that updates the formulas for a sheet once subtotals are put in. The way I have it written now, it is hard coded to go to a certain line. The problem is, if something changes which affects the first line of subtotals, I have to do a quick update on the macro to make it work. I want the user to input the first line for the subtotal and have my formulas reference that line instead. I know it isn't super complicated to figure out, but this isn't something I have messed with too much.

    An example of the basic code that is being updated:

    Please Login or Register  to view this content.
    I would need what I need to put in place of "u35" so that the user input will not it is column U on row "x" as well as the code to create the variable.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: User to provide input for row to use

    Hi jlax34

    Here's two ways to do this
    Please Login or Register  to view this content.
    and
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to 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