Hi all, I need to create two buttons for an excel sheet using VBA. Let me give you some context.
Let's say I have a sheet named "database". The complete "A" column is emtpy because I need it for somethign else, nothing so relevant, the information of the database is filled from column B to column K, and of course all records are listed below that, means that the row from B1 to K1 has the titles of the columns, information starts from B2-K2, B3-K3 and so on until the final record.
These record will keep increasing, new records will added, means the table "height" will variate a lot, but the "width" will be the same from B to K, and also, the column "K" will be empty of information BUT it will be filled with a color, I mean, a cell fill color and it will variate, yellow, brown, blue, red, pink, etc. ONLY COLUMN K WILL BE EMPTY OF INFO BUT FOR CELL FILL COLOR!
Now what I need, please help me.
Button 1: to eliminate rows with duplicated index in column B, it will cycle from start of the table to the end of the table/records removing the duplicated records withing the B column
Button 2: It will sort all the table using as it's reference the colors in the column K, I don't mind the order of the colors, it can be by the order how they are shown in the database, what I need is to all the blue records be together, also pink, red and all.
Please I'll appreciate your help.
Bookmarks