Forums
Welcome to Live View – Take the tour to learn more
Start Tour
There is currently 1 person viewing this thread.
Steve Voltage
01 Aug 15 10:54
Joined:
Date Joined: 23 May 09
| Topic/replies: 6,498 | Blogger: Steve Voltage's blog
I need some simple code that will put the trigger -1 into cell Q2 if cell V5 is not blank.

I've searched the gruss forum but no joy and excel/vba code hurts my brain.

Any help please Happy
Pause Switch to Standard View Gruss Excel help please
Show More
Loading...
Report Gin August 1, 2015 11:00 AM BST
In cell Q2 put

=IF(V5"",-1,"")
Report Gin August 1, 2015 11:01 AM BST
=IF(V5"",-1,"")
Report Gin August 1, 2015 11:03 AM BST
It missed out the smaller than/greater than part of the formula that should be inserted between V5 and ""
Report Barry Conway August 1, 2015 11:04 AM BST
If(v5="","",-1)

Other way round.
Report Gin August 1, 2015 11:04 AM BST
=IF(V5 Smaller than/greater than"",-1,"")
Report Gin August 1, 2015 11:04 AM BST
Oops, I misread the OP
Report Gin August 1, 2015 11:05 AM BST
=IF(V5 Smaller than/greater than"","",-1)
Report Steve Voltage August 1, 2015 11:13 AM BST
Thanks for the reply mate but if you use a formula it disappears when gruss refreshes, that's why i need code.

cheers anyway Happy
Report Gin August 1, 2015 11:48 AM BST
That went well!! Laugh

I'm sure somebody on here will sort it.
Report Aunty Post August 1, 2015 11:49 AM BST
If you ever need  future advice, speak to Gary or Mark.

Their support is fantastic, and they always come back pronto.
Report Barry Conway August 1, 2015 12:30 PM BST
I don't know about Gruss, but if you open the vba editor and select ThisWorksheet the you can insert code that updates your sheet every time something happens. On the left drop down select Workbook, then either SheetChange or SheetCalculate. You can then insert a simple if statement with runs every time something on the sheet changes or recalculates.
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com