|
What's New On The Site
The list below shows only the ten or so most recent additions to the web site
out of a total of about 500 individual topic pages. For a complete chronological list of updates, see
the What's New page. You can also locate
pages from the Page Index or the
Topic Index.
(Last Updated 30-September-2009)
Easter Calculations (30-Sept-2009)
This page describes how to calculate the date of Easter for a given year.
Wait Functions (12-Sept-2009)
This bas file contains the following functions. WaitForFileCreate, which waits for a specified file
to be created. WaitForFileClose, which wait for a specified file to be closed. And,
ShellAndWait, which executes a Shell command and waits for the Shell'd
program to finish. All these function support time-out values and break key handlers.
Week Numbers In Excel (3-Sept-2009)
Many organizations and applications use the week number of a date for identificaiton or organizational purposes. However, this
can be problematic because it is possible to defined the first day of Week 1 in a variety of manners. This page presents a number
of worksheet formulas and VBA functions to work with various types of week numbers.
A Better WORKDAY Function (18-August-2009)
Excel's WORKDAY function suffers a significant shortcoming: Saturday and Sunday are hard coded into the
function. You can't specify other or additional days of the week. This page provides a function that allows you to exclude any
number of days of the week.
Day Of Week Functions As Formulas And VBA Functions (14-August-2009)
This page provides about ten functions, both as worksheet formulas and as VBA functions, for working with days of the week.
Defined Names In Excel (6-June-2009)
This page introduces Defined Names and illustrates how to use them to your advantage in your workbooks.
Downloading A File From The Internet (23-April-2009)
This page describes VBA code you can use to download a file from the internet to your local computer.
Flexible Lookups - Alternative To VLOOKUP (3-April-2009)
Excel's VLOOKUP and HLOOKUP functions are great for simple table lookups. However, they suffer the shortcomings that
you can only search the left column, return a value only from a column to the right, and return only a single value.
The formulas on this page describe how to use any column as the search column, any column for the returned values, and
return multiple value from the table.
Unique Identifiers With GUIDs (20-March-2009)
Your application may need to create unique indentifiers to track objects or data values. If you need a
unique identifier but you don't need that identifier to contain any meaningful information beyond simply
being unique, you can use a Globally Unique Identifier or GUID. This value will be unique across all
users, all computers, and all networks. This page describes the code to create a GUID.
Fractional Months (19-March-2009)
Some Excel applications need to calculate the fractional months between two dates. This is somewhat ambiguous because a
month may have between 28 and 31 days. This page describes methods and formulas for calculating fractional months.
Merging Lists (17-March-2009)
A common task in Excel is to merge two lists into a single list, usually preventing duplicate entries
in the merged list. The code on this page describes how to do this.
Playing A Sound In VBA (23-February-2009)
This page describes how to play sounds from VBA. You can use your own sound files or use
one of the files provided by Windows in the C:\Windows\Media
directory.
Pictures On Command Bar Buttons (23-February-2009)
This page describes how to put custom images on command bar buttons and menu items. You can use
either external image files or images embedded on a worksheet.
EveryNth Row (20-January-2009)
This page describes how to retrieve every Nth row from a column of numbers, such as
every other or every third row. It also describes how to use SUM and AVERAGE on these
data sets.
AnyXML - Creating optional free-form XML content in a schema. (20-January-2009)
This page describes how to write XSD Schemas for XML to allow optional, arbitrary XML to be included in a ComplexType. There is no restriction on this
XML other than it be syntactically well-formed.
Working With Latitude, Longitude, And Great Circles (18-January-2009)
This page describes formulas and code for working with latitude and longitude values in either time-format value or decimal degree
values. It also contains formulas and code for calculating Great Circle Distances between two points on Earth.
Creating A Table From A Column With Variable Block Sizes (16-December-2008)
This page describes VBA code that you can use to create a two-dimensional table from a column of blocked
data where the data blocks are variable lenght.
Using Attributes To Describe Code In The Object Browser (16-December-2008)
You can add description attributes to modules and procedure to provide documentation in the Object Browser.
Working With The Windows Clipboard (16-December-2008)
This page describes VBA procedures for working with the Windows clipboard. It includes a downloadable module with
several useful procedures for putting text in the clipboard and getting text out of the clipboard.
FindAll XLA Add-In (13-December-2008)
This page describes the FindAll.xla add-in that allows you to search any number of
worksheets in a workbook and display all the results in a simple to use user interface.
Convert A Table To A Column Or Row (11-November-2008)
This page describes formulas to transform a two dimensional table of rows and columns into a single row or single
column of data, in either row-by-row or column-by-column order.
Convert A Column To A Table (11-November-2008)
It is not an uncommon task to convert a column of data, grouped into logical blocks, to a two dimensional table of
rows and columns. This page describes how to do this with formulas and with VBA code.
Testing If An Array Is Sorted (9-November-2008)
Sorting an array is an expensive operation in terms of memory access and processing overhead, and this problem only gets worse
as the array gets larger. This page describes how to test is an array is already in sorted order and therefore does not
need to be sorted again. In conjunction with this page, the Sorting Arrays page has
been rewritten.
Get What's New via RSS Feed (20-Oct-2008)
You can now get What's New On The Web Site information via an RSS feed. Point your RSS aggregator or your browser to
http://www.cpearson.com/RSS.xml.
How To Use Support Newsgroups Properly (19-Sept-2008)
One of the best avenues to get support and answers for Excel is through the NNTP USENET system of the
Internet. This page desribes how to connect to the Excel newsgroups and provides a list of
guidelines to follow when posting messages to the nwesgroups.
|