ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formatting Data using a macro (https://www.excelbanter.com/excel-programming/351033-formatting-data-using-macro.html)

Steven

Formatting Data using a macro
 
lets not hit enter this time!!!

I have a huge dump of data which I'm using a very basic macro to pick
up the columns I need, delete the top two rows and then sort the data
by value.

All this is working well except for the data sort. Anyone any tips?

I'm new to this!!!

Ta.


Yngve

Formatting Data using a macro
 
The best way for you to learn something like this (the same as for
everyone
- myself included) is to use the Macro recorder on the Tools...Macros
menu

This is always the best way to start.

Do sorting manual.

When you have finished recording the actions that you need the code
for,
click Stop on the Tools..Macros menu, and use ALT-F8 to show the Macros
dialog.

Select the new macro that you just recorded, and choose 'Edit'

then you can see the code that has been recorded, and this will help
you see
what action you have used, and give you a head start.

Regards Yngve



All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com