BACK & LAY command buttons...

Questions about integrating Excel and Cymatic, programming, formulae, etc

BACK & LAY command buttons...

Postby henit » Wed Apr 04, 2018 10:06 am

Hi,

I am new to using excel in trading. Is it easy to create "BACK" & "LAY" buttons in excel or needed lots of programming knowledge? Any example how to create "back" or "lay" button?

Thanks,
Henit.
henit
 
Posts: 3
Joined: Tue Apr 03, 2018 11:28 am

Re: BACK & LAY command buttons...

Postby Gavin » Wed Apr 04, 2018 11:14 am

Hi Henit,

It isn't very difficult. You create the buttons using the Developer tab in Excel, then program them so that each button's Click event puts your desired command into the cells in the command columns which Cymatic responds to.

There is plenty of information on the internet about how to create buttons in Excel. After you've learnt that, you could try googling how to use Visual Basic to put a value into a cell.

Kind regards,

Gavin
User avatar
Gavin
Site Admin
 
Posts: 3835
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom

Re: BACK & LAY command buttons...

Postby svilen13 » Wed Apr 04, 2018 11:32 pm

I am also new to VB. But I understood the easiest command for a button:

Code: Select all
Private Sub CommandButton1_Click()
   Range("BA8") = "Back"
   Range("BD8").ClearContents
End Sub[


Cell BB8 - your odds
Cell BC8 - your stake
These cells can be filled by taking values from other cells or calculated wishes.
svilen13
 
Posts: 7
Joined: Thu Oct 01, 2015 2:23 pm

Re: BACK & LAY command buttons...

Postby Gavin » Thu Apr 05, 2018 11:16 am

Hi svilen13,

Thank you for helping, it looks good.

Kind regards,

Gavin
User avatar
Gavin
Site Admin
 
Posts: 3835
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom


Return to Excel - Help / Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron