+ Reply to Thread
Results 1 to 1 of 1

Macro to update the cell below every time its pressed

  1. #1
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Question Macro to update the cell below every time its pressed

    I am trying to create a macro to make a process easier for an end-user with little/no knowledge of excel at all.

    I need to record a macro and apply it to a button so its user-friendly.

    the macro in question would be the following:

    Click c5
    press alt+down (to scroll to last entry in list - lets say c10)
    drag formula in that cell down to cell below (into c11)

    REPEAT.


    now when I do this, it works perfectly for the first press of the button. HOWEVER my problem lies here:

    - I need the macro to then on the second press of the button to:

    click c5
    press alt+down (to scroll to the last entry in list - NOW WOULD BE C11)
    drag formula in that cell down to cel below (NOW INTO C12)

    etc. but I cant get it to do it.

    any help?

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Macro to update the cell below every time its pressed

    Try to see if this is what you are trying to achieve.
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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] I want to automatically update cell comments with time stamp last time cell changed
    By Med_MV in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2013, 02:35 AM
  2. [SOLVED] Run a macro when a carriage return is pressed on the cell
    By jksung5295 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2013, 04:38 PM
  3. Putting real time and date in cell when cmd button pressed help
    By T_BOLT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2013, 08:14 AM
  4. If cell is empty and macro is pressed display error message.
    By karol2234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2012, 01:47 PM
  5. How can I execute a macro once an entry is made in a cell and enter is pressed?
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 07:10 PM

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