I am new to VB/Macros. I would like any experienced programmers to critique the below code. The code works fine, but is there a better (more proper) way to write it? Is there a different technique that would be faster?
I have not used Case Select before, but read that it is a better approach for longer If...Else code. This code will grow to about 50 selections. Is the Select Case any quicker?
This code basically searched column A of sheet 1 for a specific term. When term is identified, it copies the contents of the 5 cells to the right (Column B,C,D,E,F) one by one and pastes that data to specific cell on sheet2. The search is used on sheet1 because the record location changes regularly(imported data, no control over that).
![]()
Please Login or Register to view this content.
Bookmarks