re-posting my solution
On Tue, Jun 18, 2013 at 1:23 PM, Hilary Lomotey <resp...@gmail.com> wrote: > thanks Guys, i have been able to write the code for this. > > > On Tue, Jun 18, 2013 at 12:23 PM, Hilary Lomotey <resp...@gmail.com>wrote: > >> [image: Boxbe] <https://www.boxbe.com/overview> This message is >> eligible for Automatic Cleanup! (resp...@gmail.com) Add cleanup >> rule<https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3D0N71UT1CNNukzN1npvrWMBWyGVkAxU%252F2nuo8APvnxA86MVHA8MeCCU67gXVrXdBlOT3pINhh6STIOySnqMmfzgoikTq3R7g9wBktuM9DAaBV2hODDnu%252B2lAq%252FGTIZbv3MirONirRJmk%253D%26key%3D8agCI%252BHIepbUrhnceY9ZnXo%252BCvRDjcuuAXwldLSvpCQ%253D&tc_serial=14409024221&tc_rand=726535420&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>| >> More >> info<http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=14409024221&tc_rand=726535420&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> >> >> Hello Experts, >> >> i am trying to perfect my VBA but i got stuck and need help. i have >> demonstrated what i want to do with excel formula, but i wish to do that >> using VBA. What i want to achieve is if the equity i select in the "main >> sheet" falls under say "banking & finance " category i get the format for >> the banking and finance category just as i have done with formula. pls >> suggest what i shd do >> >> -- >> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s >> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ >> https://www.facebook.com/discussexcel >> >> FORUM RULES >> >> 1) Use concise, accurate thread titles. Poor thread titles, like Please >> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice >> will not get quick attention or may not be answered. >> 2) Don't post a question in the thread of another member. >> 3) Don't post questions regarding breaking or bypassing any security >> measure. >> 4) Acknowledge the responses you receive, good or bad. >> 5) Jobs posting is not allowed. >> 6) Sharing copyrighted material and their links is not allowed. >> >> NOTE : Don't ever post confidential data in a workbook. Forum owners and >> members are not responsible for any loss. >> --- >> You received this message because you are subscribed to the Google Groups >> "MS EXCEL AND VBA MACROS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to excel-macros+unsubscr...@googlegroups.com. >> To post to this group, send email to excel-macros@googlegroups.com. >> Visit this group at http://groups.google.com/group/excel-macros. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/groups/opt_out.
Sample VBA workings.xlsm
Description: Binary data