Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
betatryck_se
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
betatryck_se
 
Posts: n/a
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to Create a Chart and Update it Automatically maperalia Charts and Charting in Excel 2 October 21st 05 05:42 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
How to automatic calculation and macro execution between 3 workbooks? c Excel Worksheet Functions 1 July 22nd 05 05:38 AM
if statement in Macro John Excel Worksheet Functions 6 December 29th 04 07:17 PM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"