Dear Excel folks,
I have been painstakingly trying the name multiple set of ranges and I figure that a proper vba code should be able to speed up the process. Below is a sample cell ranging from A1 to B8
_____ A_____|_____B______
1 | Singapore | Town Road
2 | Singapore | East Coast
3 | Singapore | Changi Road
4 | Australia | Canberra
5 | Australia | Melbourne
6 | Australia | Sydney
7 | Australia | Perth
8 | Australia | Queensland
I wish to create a VBA code that effectively name a set ranges based a the left column.
Basing on the above example, once the macros is triggered, it will name the ranges B1:B3 as Singapore and B4:B8 as Australia
I hope my sample is sufficiently concise and clear!
Looking forward to any directions on this. Thanks.
Thanks
Jensen
Bookmarks