Friday, September 23, 2016

[Solution] Create a macro to sort by specific columns

Create a macro to sort by specific columns

In Excel 2003, when I performed a sort, specifically sort by Column H, then by Column D, it of course worked fine, then I would move down the worksheet to another sectin of rows and wanted to do the same sort and whe I opend the dialog box to do the sort,
Sort by H, then sort by D was already selected for me, that is I didn't have to tell Excel whcih coluns to sort by every time I select another section of rows. 
Excel 2007 does not do this and each time I move to a different (not the same section) section, I have to re-select the H and the D.  Is there a way around this or is there a Macro that will do the same thing?
Thanks

Anwsers to the Problem Create a macro to sort by specific columns

Download SmartPCFixer for Free Now

That's progress...
Here is a macro - test thoroughly.
Select a cell in the range you want to sort before running it.
Sub CustomSort()
  With Selection.CurrentRegion
    .Sort Key1:=.Cells(1, 8), Key2:=.Cells(1, 4), Header:=xlYes
  End With
End Sub

Run CHKDSK
  • Go to the Start button.
  • In the Search box, type "cmd" (without quotes) and press Enter.
  • At the command prompt, type "chkdsk /r /f" (without quotes) and press Enter.
  • Reboot your computer.

Recommended Method to Fix the Problem: Create a macro to sort by specific columns:

How to Fix Create a macro to sort by specific columns with SmartPCFixer?

1. You can Download SmartPCFixer here. Install it on your system. When you open SmartPCFixer, it will perform a scan.

2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in this software. Like dll downloading, windows updating and print spooler error repair.


Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: [Solved] Converting from Word to Jpeg,How to Fix Problem - contact lists?,Fast Solution to Problem: Converting percentages into whole numbers,How Can You Fix - CPU usage is high, especially when playing games?,Troubleshooting:Corrupted drive notice for failure to backup listed files with 0X8100002F error Error,Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly

No comments:

Post a Comment