Macros in Excel 2011 - Selecting Rows by Unique Identifier

emersoki

New Member
Joined
Aug 24, 2016
Messages
1
I'm looking to use macros during a process of exporting data from Excel to Word.

As the first step in this process I'm needing to select multiple rows (number will vary depending on number of classes attended) of information based on unique identifiers for each student that has attended classes.

Is there any code that could be used to recognize rows including the unique identifiers for students (represented as Student X below)? ** Please note these unique identifiers are random and non-sequential

Student 1- 1
Student 1- 2
Student 1- 3
Student 1- 4
Student 2- 1
Student 2- 2
Student 3- 1
Student 4- 1
Student 4- 2
Student 4- 3
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top