Dear Sundar,

Wrong attachment, Please ignore it..

On Wed, Feb 29, 2012 at 6:21 PM, NOORAIN ANSARI <noorain.ans...@gmail.com>wrote:

> Dear Sundar,
>
> Please see attached sheet, you can use..
>
> Sub Count_VBA()
> On Error Resume Next
> c = 1
> For Each Sh In ActiveWorkbook.Sheets
> If Sh.Name <> Sheets("Summary") Then
> Sheets("Summary").Cells(2, "B").Value = Sheets("Summary").Cells(2,
> "B").Value + Application.WorksheetFunction.CountA(Sh.Range("C:C"))
> Sheets("Summary").Cells(3, "B").Value = Sheets("Summary").Cells(3,
> "B").Value + Application.WorksheetFunction.CountIf(Sh.Range("C:C"),
> "Driver") + Application.WorksheetFunction.CountIf(Sh.Range("C:C"),
> "Sweeper")
> End If
> c = c + 1
> Next
> Sheet9.Cells(2, "B").Value = Sheet9.Cells(2, "B").Value - c
> On Error GoTo 0
> End Sub
>
>
> --
> Thanks & regards,
> Noorain Ansari
>  *http://noorainansari.com/* <http://excelmacroworld.blogspot.com/>
> *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
>  On Wed, Feb 29, 2012 at 4:56 PM, Sundarvelan N <nsund...@gmail.com>wrote:
>
>> Hi Friends,
>>
>> I need a help in my project. I have excel file in which template sheet is
>> constant. When i open that file in the morning it should copy the template
>> sheet and rename the sheet with todays date. In the same day i will be
>> closing and opening that file many times but it should not insert every
>> time i open in a same day.
>> Thanks
>> N.Sundarvelan
>> 9600160150
>>
>> --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
>
>
>


-- 
Thanks & regards,
Noorain Ansari
 *http://noorainansari.com/* <http://excelmacroworld.blogspot.com/>
*http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to