![]() |
|
#11
|
||||
|
||||
|
Quote:
It's like you said originally... no problem when only dealing with 2 columns. That's the crutch of what the macro does... Puts things into two columns on the ScratchPad so they can be worked with. The sorting is automated there. Everything on the 8 column sheet is deleted then 50 row chunks are written from the ScratchPad back to the 8 column sheet. Quote:
I've adjusted the names of the sheets and within the macros to suit the most recent issues. You'll notice the last file I posted checks if the active sheet is named either Utility ID or GAMES and if it is uses Activesheet rather than the specific name, and if it isn't either gives the Goofy sheet message. Try it, try running the macro with the ScratchPad being the active sheet. Quote:
For example if you were to add another sheet for this to work on. Code:
'make sure dealing with an acceptable sheet
If ActiveSheet.Name <> "GAMES" And ActiveSheet.Name <> "Utility ID" And ActiveSheet.Name <> "whatever sheet" Then
MsgBox "Goofy Sheet" & vbLf & "Will not continue"
Exit Sub
End If
Quote:
You're a 65 year old beginner. We all had to start somewhere. I've got a couple of years on you and only started playing with this stuff (for entertainment) when I retired. Good Luck with your project. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to sort columns
|
SerenityNetworks | Excel Programming | 4 | 09-02-2016 06:20 AM |
| .pdf to .xlsx - How to get sort-able columns? | CCinPA | Excel | 0 | 07-05-2016 08:30 AM |
Normal sort not bringing along other columns
|
Dave Fraser | Excel | 2 | 06-06-2014 11:48 AM |
| quick replace, sort, change columns | userman | Excel | 1 | 05-01-2012 06:24 AM |
How to sort table having three columns?
|
Bahir Barak | Word | 2 | 01-20-2011 01:52 PM |