Solved

Simple Troubleshooting for Spreadsheet

Posted on 2011-09-23
3
238 Views
Last Modified: 2012-05-12
EE Professionals,

I have a neat application / workbook that EE helped build.  I have a slight bug that I cannot find.  It has to do with the auto sort in Column A and specifically A4.  If you put in a higher number in A4, it does not autosort.  If you change the number in A5 or beyond, it does.

I think this is a very simple fix.  Please let me know; I'm trying to learn.

Thank you,

B.
RASCI-Sheetv71.xlsm
0
Comment
Question by:Bright01
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
akoster earned 500 total points
ID: 36586534
The problem is this line :

.Header = xlYes

Open in new window


this indicates that the top cell (A4 in this case) contains a header which should not be sorted.

You either have to change all ranges to A3:A... or set .Header = xlNo
0
 

Author Closing Comment

by:Bright01
ID: 36586842
Fast, knowledgable and meaningful fix.  Thanks for the fix and the lesson!

B.
0
 
LVL 19

Expert Comment

by:akoster
ID: 36587137
You're welcome !
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question