You are here:
I can answer questions relating to MS Excel formulas, or to programming with vba (Visual Basic for Applications) in the Excel environment. Please follow the following guidelines: your question should focus on one specific issue you want to learn. It's beyond the scope of this free service for me to create entire projects or complex vba solutions for you from scratch. You should be able to do most of the work yourself, and come here when you need help with a specific point you're stuck on. ALWAYS include a simple, concrete example illustrating what you want to learn. Explain this example in detail in the text of your question (what data is in which cells of which sheets, etc). Be very precise about the results you want, using this sample to make the logic clear. Always keep these examples SIMPLE. Never e.g. use 18 worksheets in your example if using 2 or 3 will do. Never use ranges like AI567:BB865 if using a range like A1:B3 will do. Thanks.
As a consultant, I've designed Excel tools since the 90s, working for the Federal Reserve Bank, AT&T, and (currently) Gap Inc.
My only "education" comes from 2 decades of doing spreadsheet/programming work, with major SF Bay Area corporations such as AT&T, Federal Reserve Bank, and Gap Inc.
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Tomas | 02/07/12 | 10 | 10 | 10 | It works great. Thank you very much ..... |
| Chan | 02/02/12 | 10 | 10 | 10 | Very good! Help me a lot! |
| Aaron | 12/27/11 | 10 | 10 | 10 | Thank you, this is exactly what I ..... |
| Anahid | 12/21/11 | 10 | 10 | 10 | Thank you! This worked perfectly :) |
| Gordon | 12/09/11 | 10 | 10 | 10 | Thank You for your help Stuart, and ..... |
Please ask only one question at a time. I don't understand your first question, so I'll answer the second one. To more or copy an excel worksheet from one workbook to another, open both workbooks, right-click
Private Sub Worksheet_Change(ByVal Target As Range) Dim changedCells As Range Set changedCells = Intersect(Target, Me.Range("a1").EntireColumn) If Not (changedCells Is Nothing) Then
If you aren't familiar with Visual Basic for Applications ("vba" or "macros"), then it's impossible to automate Excel. If you do know how to use vba, then use the following code in the Visual Basic
Assuming the textbox and commentbutton are ActiveX objects inserted on the worksheet: Private Sub cmdEnter_Click() Dim theTextBox As OLEObject Dim enterHere As Range Dim theName As String
Example: on a new sheet, in cell A1, enter 1/30/2012 15:30 and in B1 enter 1/31/2012 4:00 and in C1 enter =(B1-A1)*24 C1 will display 12.5, which means that the length of time between
Answers by Expert:

©2012 About.com, a part of The New York Times Company. All rights reserved.