IntroductionGetting StartedAll PostsNotesAbout The Author
August, 2009
RSS
Sharing Data Without Sharing A Workbook
Monday, August 03, 2009 - 3:31 PM

Sharing and VBA don't mix. At least with Excel '02/'03, sharing causes VBA to simply malfunction in ways that cannot or should not be coded around. Rather, I recommend you share your data in a separate shared workbook and keep your VBA in an unshared UI. This approach allows you to take advantage of Excel's built-in features for reconciling changes by mutliple users, without comprimising your VBA or otherwise affecting your UI. Multiple users can either have separate copies of the UI or use

Open N Most Recent Files
Monday, August 03, 2009 - 12:47 PM

Option Base 1


Public FileNames$()


Public Function OpenNMostRecentFiles(n As Byte, PartialFileName$, inPath$, Optional PartialNameIsFromEnd As Boolean)
'uses files' creation date to open the N most recent files located in inPath with names starting or ending with PartialFileName
'returns file names to public array "FileNames"
'requires TestLen, WindowIsOpen, TestApp, and SetApp functions (could also SubStart function instead of TestApp and SetApp)
'assumes "option base 1"; uses FileNames public string

Varying Column Widths And/Or Row Heights For Multiple Tables Within A Single Sheet
Monday, August 03, 2009 - 12:07 PM

If you have ever wanted to display two or more tables next to one another on a single sheet, you've probably realized that Excel is not designed for that. If you arrange them vertically, there is no way to vary the column widths between tables; and if you arrange them horizontally, there is no way to vary the row heights between tables. This leaves two options: arranging them diagonally (which is not at all desirable in most cases), or giving up and putting them on separate sheets. (You could

3 records total        

January, 2009
February, 2009
March, 2009
April, 2009
May, 2009
June, 2009
July, 2009
August, 2009
September, 2009
October, 2009
November, 2009
December, 2009
IntroductionGetting StartedAll PostsNotesAbout The Author