Dear Maries,

Thats right good one.

Thanks & Regards,
Prajakt Pande

On Mon, Feb 20, 2012 at 1:58 PM, Maries <talk2mar...@gmail.com> wrote:

> *PFA*
>
> On Thu, Feb 16, 2012 at 10:04 AM, Maries <talk2mar...@gmail.com> wrote:
>
>>  Hi,
>>
>> Find the attached file. It will work.
>>
>>     Sheets("NDC").Select
>>     ActiveWorkbook.Names.Add Name:="datas", RefersToR1C1:= _
>>         "=OFFSET(NDC!C1,0,0,COUNTA(NDC!C1),COUNTA(NDC!R1))"
>>     ActiveWorkbook.Names("datas").Comment = ""
>>
>>     Range("A1").Select
>>
>>     ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase,
>> SourceData:= _
>>         "=datas", Version:=xlPivotTableVersion10). _
>>         CreatePivotTable TableDestination:="", TableName:="PivotTable21",
>> _
>>         DefaultVersion:=xlPivotTableVersion10
>>     ActiveSheet.PivotTableWizard TableDestination:=ActiveSheet.Cells(3, 1)
>>     ActiveSheet.Cells(3, 1).Select
>>
>> The above highlight change done in your coding.
>>
>> Regards,
>>
>> MARIES.
>>
>> On Thu, Feb 16, 2012 at 9:12 AM, ashjain2...@yahoo.co.in <
>> ashjain2...@yahoo.co.in> wrote:
>>
>>> Dear Boss,
>>>
>>> Please find the file, Where i am using recording macro.. and get the
>>> pivot
>>> table but every date i go and change the row in macro before run, Every
>>> day data get increasing....request you to please fix the macro so that in
>>> row will increasing than not need to change row in macro
>>>
>>> Exaple :- today i have 2709 Row but tomorrow will be 2810 and day after
>>> tomorrow it will be 2920 or 3000
>>>
>>> Ashok
>>> -
>>>
>>> --
>>> 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
>>>
>>
>>
> --
> 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,
Prajakt Pande
+971551388482
**

-- 
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