Converting a button macro

Juan C

Board Regular
Joined
Mar 6, 2009
Messages
131
I have an excel sheet that have a button to place orders in the stock market manually. I need this button to execute every second instead of me pushing it manually.

The present code (manually operated) is as follows:

Sub placeOrder()
Call OrderFunctions.order2(Selection.rows, serverCell, extAttribColumn, True)
End Sub

Can you please tell me how to do this?

Many thanks in advance.

JC
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Dear Joe4:

I appreciate your response, and do agree with you that I should learn how to use macros... But I have a time constrain and need to finish this workbook before month end, thus the reason for looking for help.

My situation is a bit more complicated than what I expressed before.

I have this program that populates on a sheet called "Basic Orders" rows begining at #14. Once these rowns are populated with our program, I have to highlight that row and then press the "Place Order" button in order to execute the order.

So the macro I need have to 1st) locate the last row that was filled, 2) highlight that row, and lastly, execute the "Place Order" button in order to complete the order.

This procedure then repeats once the variables are in place for our program to fill a new row, and once filled, then the macro have to complete the aforementioned steps.

As you can see, this is a bit more than macro 101, thus the reason of my need for help.

I will really appreciate if there is something you can do to aid me here.

Thanks very much for your help.

JC
 
Upvote 0
If you are on a time constraint, and don't have the time to do it yourself (or just don't want to), perhaps MrExcel Consulting Services may be more of what you are looking for: http://www.mrexcel.com/consult.shtml
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top