Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread aju chacko
dear sam/paul, Thanks for your guidance regards aju On 9/27/11, Sam Mathai Chacko wrote: > Ah! now you are talking. Aju, unfortunately there is no application > level even that triggers when the appl

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Sam Mathai Chacko
Ah! now you are talking. Aju, unfortunately there is no application level even that triggers when the application is active. The application class events are associated to the workbook events and below. And I am not sure if an API can be used to do this. the other suggestion I have is to use a sche

Re: $$Excel-Macros$$ vlookup for two same value in acceding order with two Criteria

2011-09-26 Thread dguillett1
See attached to do as desired From: vickey Sent: Monday, September 26, 2011 10:14 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ vlookup for two same value in acceding order with two Criteria Thanks, It worked, but there is one argument, if there are more then three entrie

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Paul Schreiner
It looks like you are correct! the Workbook_Activate event only triggers when switching between Excel workbooks. It looks like there should be an Application.WindowActivate event, but I haven't been able to get it to work in the small test case I tried. I also found an event that requires a cl

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread aju chacko
Dear sam/paul Isempty(activecell.value) is OK now.But the macro doesn't work as i expected,It triggers only once.Actually what i want is whenever I switch from SAP window to EXCEL window(Focus is set to EXCEL),the macro should execute. As i have understood,the *workbook_activ

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Sam Mathai Chacko
It shouldn't be throwing an error, unless there is no workbook at all. There are lots of ways to check whether a cell is empty. Try this. If Len(ActiveCell.Value)=0 Then OR If ActiveCell.Value="" Then Paul, the event that Aju is after, is for an add-in to identify whenever a workbook with the

Re: $$Excel-Macros$$ vlookup for two same value in acceding order with two Criteria

2011-09-26 Thread vickey
Thanks, It worked, but there is one argument, if there are more then three entries in a particular day i.e. on 1st of sept there are three diffrent times mentioned or more than that, then very first and very last time should reflects. (means in time of morning and out time of evening) I have

Re: $$Excel-Macros$$ Fwd: Required Latest No. of Drawing - Help

2011-09-26 Thread dguillett1
Can you show us an AFTER example(s) of what you want this to look like.. -Original Message- From: Rohan Young Sent: Monday, September 26, 2011 2:18 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Fwd: Required Latest No. of Drawing - Help On Thu, Sep 22, 2011 at 6:04

$$Excel-Macros$$ Need Urgent help

2011-09-26 Thread syed aliya raza hashim
Hi, I want to learn VBA Excel so what is the path that should i follow ,does any book will help or what means i despretely learn VBA ,so please help me how to learn -- syed aliya -- -- Some important links for exce

Re: $$Excel-Macros$$ Fwd: Required Latest No. of Drawing - Help

2011-09-26 Thread Paul Schreiner
This isn't showing the "After" example as requested. What this means is: "Show us what you want the result to look like"   Do you want to know the DATE of the latest version? If so, you can create a column with the formula for row 4: =MAX(E4:N4) that would give you the most recent date. If you're

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Paul Schreiner
Forgive me if this is totally off-base. But I have never used the Activate event in a Class module. In the ThisWorkbook module, I would use: Private Sub Workbook_Activate()    startappmon End Sub   I use this technique in several applications where I activate and deactivate toolbars depending on

回复: $$Excel-Macros$$

2011-09-26 Thread loveufe2001
2011-09-26 loveufe2001 发件人: "Azeem Quraishi \(HAB5\)" 发送时间: 2011-09-21 20:03 主 题: $$Excel-Macros$$ 收件人: Hi Friends, Pls some one help, I have many files every day opening and selecting required column information copying to onother file by manually. I need to copy from “Test1”

Re: $$Excel-Macros$$ Need help with forecast formula

2011-09-26 Thread SFG
It looks like you are forecasting daily ship $ correctly. Is the problem in summing up the total for the month or in showing cumulative totals in your month-to-date (column L)? If the latter is the case, you can simply use an "if" function to grab from column M when column E has a null value. Stev

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread aju chacko
dear sam, Thanks for your kindness.I have imported all the module as u mentioned,But the following line in class module is throwing an error(syntax error) ' If Not IsEmpty(ActiveCell) Then' But i didn't see anything wrong with this line.By the way i am using excel 2007 and my