+ Reply to Thread
Results 1 to 3 of 3

how to create automatic macro with if statement or similar

  1. #1
    betatryck_se
    Guest

    how to create automatic macro with if statement or similar

    How do I create a macro including if statement & automatically

    I need to create a worksheet where I can have a list of various data and if
    I change the value of one row and that is of a higher value than any other in
    this list , I need this row to jump to the top of the worksheet.

    This should then happen automatically, ie every time you enter a sum in the
    value column it should perform the if statetment automatically and check
    wether the top value cell has got a higher value than the sum I just typed in.

    Anyone got any ideas of how to do this?

  2. #2
    Dave Peterson
    Guest

    Re: how to create automatic macro with if statement or similar

    Personally, this would drive me batty. If I make a change, it could go anywhere
    in the list. If I make a typing error, I may not be able to find it (easily).

    Instead of making it automatic, I'd just plop a button from the forms toolbar on
    that sheet. I could record a macro that would sort exactly the way I want and
    assign that macro to that forms button.

    Then I do the data entry (and verification) and click that button only when I'm
    happy.



    betatryck_se wrote:
    >
    > How do I create a macro including if statement & automatically
    >
    > I need to create a worksheet where I can have a list of various data and if
    > I change the value of one row and that is of a higher value than any other in
    > this list , I need this row to jump to the top of the worksheet.
    >
    > This should then happen automatically, ie every time you enter a sum in the
    > value column it should perform the if statetment automatically and check
    > wether the top value cell has got a higher value than the sum I just typed in.
    >
    > Anyone got any ideas of how to do this?


    --

    Dave Peterson

  3. #3
    betatryck_se
    Guest

    Re: how to create automatic macro with if statement or similar

    You are right it is not a very good way of doing thing but its somebody at
    work who "needs" this function. I will try making it the way you described it
    and see if it could work for them.

    "Dave Peterson" skrev:

    > Personally, this would drive me batty. If I make a change, it could go anywhere
    > in the list. If I make a typing error, I may not be able to find it (easily).
    >
    > Instead of making it automatic, I'd just plop a button from the forms toolbar on
    > that sheet. I could record a macro that would sort exactly the way I want and
    > assign that macro to that forms button.
    >
    > Then I do the data entry (and verification) and click that button only when I'm
    > happy.
    >
    >
    >
    > betatryck_se wrote:
    > >
    > > How do I create a macro including if statement & automatically
    > >
    > > I need to create a worksheet where I can have a list of various data and if
    > > I change the value of one row and that is of a higher value than any other in
    > > this list , I need this row to jump to the top of the worksheet.
    > >
    > > This should then happen automatically, ie every time you enter a sum in the
    > > value column it should perform the if statetment automatically and check
    > > wether the top value cell has got a higher value than the sum I just typed in.
    > >
    > > Anyone got any ideas of how to do this?

    >
    > --
    >
    > Dave Peterson
    >


+ 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