rajagopalanpb
New Member
- Joined
- Nov 21, 2008
- Messages
- 34
Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
I have got this in a pivot table
<o
></o
>
Customer Total sales(USD)
<o
></o
>
30010 500.00
30041 2000.00
<o
></o
>
<o
></o
>
In another column I enter a comment for customer 30010(and leave the comment column for customer 30041 blank) as below
Data 1.xls
Customer Total sales(USD) Comment
<o
></o
>
30010 500.00 Test 1
30041 2000.00
Later on the content of the file changes as below:
<o
></o
>
Customer Total sales(USD)
<o
></o
>
30025 1500.00
30010 500.00
30041 2000.00
When the file is refreshed I would like to have comment as per the former file i.e the comment “Test 1” should appear against customer 30010 and similarly for any other customer that I enter the comment.It should be as below:
Customer Total sales(USD) Comment
<o
></o
>
30025 1500.00
30010 500.00 Test 1
Customer Total sales(USD) Comment
<o
></o
>
30041 2000.00
Is this possible using Excel VBA?If yes I would like to have the code please.
<o
></o
>
Thanks for your help
<o
></o
>
Raja
<o
></o
>
<o
></o
>
<o
></o
>
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com




I have got this in a pivot table
<o


Customer Total sales(USD)
<o


30010 500.00
30041 2000.00
<o


<o


In another column I enter a comment for customer 30010(and leave the comment column for customer 30041 blank) as below
Data 1.xls
Customer Total sales(USD) Comment
<o


30010 500.00 Test 1
30041 2000.00
Later on the content of the file changes as below:
<o


Customer Total sales(USD)
<o


30025 1500.00
30010 500.00
30041 2000.00
When the file is refreshed I would like to have comment as per the former file i.e the comment “Test 1” should appear against customer 30010 and similarly for any other customer that I enter the comment.It should be as below:
Customer Total sales(USD) Comment
<o


30025 1500.00
30010 500.00 Test 1
Customer Total sales(USD) Comment
<o


30041 2000.00
Is this possible using Excel VBA?If yes I would like to have the code please.
<o


Thanks for your help
<o


Raja
<o


<o


<o

