Screenshots I need to help answer the post that is just here:
http://www.excelfox.com/forum/showth...-to-put-remark
If column I is sell then see the value of column K & if column K is Greater than sheet2 of column E then put the remark in sheet3 in the stock name from column B
If column I is buy then see the value of column K & if column K is lower than sheet2 of column F then put the remark in sheet3 in the stock name from column B
remark will be in series like 1,2,3,4,5,6 and so on
vba is palced in a separate file
all files are located in same place
and after putting the remark clear sheet 1 and sheet 2
If column I is sell then see the value of column K &
Worksheet: Sheet1
Row\Col A B C D E F G H I J K L 1Exchange Symbol Series/Expiry Open High Low Prev Close LTP 2NSE ACC EQ 10 11 12 13 8SELL 11.247 1100.947 3NSE ADANIENT EQ 8 7 6 5 4BUY 1.334 130.734 4
if column K is Greater than sheet2 of column E
Worksheet: Sheet2
Row\Col A B C D E F G H I 1Exchange Symbol Series/Expiry Open High Low Prev Close LTP 2NSE ACC EQ 1 1102 18 4 2 3NSE ADANIENT EQ 5 6 129 8 4 4
E then put the remark in sheet3 in the stock name from column B
Worksheet: Sheet3
Row\Col A B C D E F G 1Symbol 2ACC 1 2 3 3ADANIENT 1 4 5 6 7remark I have puuted 1 bcoz series start with 1 8and next time when I will run the macro 9then it will start with 2 10and again when I will ran the macro then it will start with 3
If column I is buy then see the value of column K & if column K is lower than sheet2 of column F then put the remark in sheet3 in the stock name from column B
remark will be in series like 1,2,3,4,5,6 and so on
vba is palced in a separate file
all files are located in same place
and after putting the remark clear sheet 1 and sheet 2
arrS1()
Exchange Symbol Series/Expiry Open High Low Prev Close LTP NSE ACC EQ 10 11 12 13 8SELL 11.247 1100.947NSE ADANIENT EQ 8 7 6 5 4BUY 1.334 130.734
arrS2()
Exchange Symbol Series/Expiry Open High Low Prev Close LTP NSE ACC EQ 1 1102 18 4 2NSE ADANIENT EQ 5 6 129 8 4
arrS3()
Symbol ACC 1 2 3ADANIENT 1
Symbol ACC 1 2 3ADANIENT 1
Your data ?????
SELL is K=1100.947 , sheet 2 column E is 1102 … so K is NOT > column E ---- so no output – no remark
BUY is K = 130.734 , sheet 2 column E is 129 … so K is NOT < column E ----- so no output – no remark
_.....see next post............._





Reply With Quote
Bookmarks