Hello,
I am fairly new when it comes to VBA/macros. I recorded a macro with me manually selecting rows 3:3000, then sorting alphabetically. Then I edited the code with what I picked up from the forums, trying to convert said macro into a generic sort macro that will work any active workbook, active worksheet. This macro would ignore rows 1&2 as these are header rows for my company.
Here is what I have so far:
When I run said macro, I get an error and debugger takes me to the line
Before I altered it it read Rows("3:3000").Select. Did I define LastRow properly? Do I need to change the format of the Rows function as it is now using a variable versus two integers? Getting ahead of myself, the code also used to read ActiveWorkbook.Sheet*name* something of that sort, and I changed it to Active.Sheet. Is that going to error out or did I convert it properly? I'm sure the code may be riddled with quite a few more bugs, as I did wing it and hope for the best...
Thanks for taking the time to read my problem. I will appreciate any help that can come my way,
-S
Bookmarks