I have extensive experience with VBA programming in Excel 5 through Excel 2013. As a former aerospace engineer with a large aerospace corporation and consultant in a small defense technology services company, I have developed a wide range of applications in VBA, including simulations involving mixed-language programming, satellite orbit mechanics, graphics and animation, and real-time applications. I am interested in moderate to hard VBA-related questions only.
I have developed and taught several courses in Excel VBA programming and also VBA programming in Office 97, 2000, and 2007. I have developed a number of large technical applications in Excel VBA for use within the aerospace industry.
B.S. in Electrical Engineering and Computer Science, University of California, Berkeley.
I enjoy helping others, not just to solve their particular problem, but also to improve their proficiency and understanding of Excel and VBA. As a result, I always try to explain why a particular problem has occurred and why a particular solution works rather than just providing a solution.
VBA is a powerful general-purpose scripting language, not just a macro recording capability. When one learns to program in VBA rather than just recording macros, a whole world of new capabilities opens up.
Contrary to the belief of many, VBA is exactly the same in Microsoft Excel, PowerPoint, Word, and Access. It is only the object models of the hosting applications, and therefore the way one works with their objects, that are different. As a result, once one knows VBA one need only learn the object model of any new application to program effectively in it.
|Lukas||10/28/16||10||10||10||I cannot begin to thank you enough .....|
|dave||09/29/16||10||10||10||Thanks Damon! Excellent example and explanation. Dave|
Hi again Jay, Would it be possible for you to email your worksheet to me? That way I could debug your workbook as it is and see any error messages, etc. My email is VBAexpert@myway.com. If your
Hi Jay, Your code uses sht.Range. I don't see sht defined in your code, so wondering if it is defined and set elsewhere in your code or is perhaps a sheet's CodeName property. If not defined and no
Hi Lukas, Probably the best way to eliminate the unwanted warning messages is to only issue the message if cell P4 changes. Since the Worksheet_Change event does not trigger when a cell changes due
Hi Charles, I wish I had a simple solution to your problem, but in more than an hour of searching I have found nothing that I believes provides exactly what you want. There are several problems with
Hi Dave, Monitoring and comparing against a previous value as you are doing is a good way to do this, and should not cause problems. The only exception would be where the cell you want to monitor is
Answers by Expert: