PC Review


Reply
Thread Tools Rate Thread

Creating Macro to copy information from cell into another cell using Add Comments

 
 
pmipalma
Guest
Posts: n/a
 
      6th Oct 2006
Hi,

I want to create a macro that will pick up a range of cells aa19:aa95
In these cells there is a formula
=IF($E19="YES",VLOOKUP($C19,'Brand Detail'!$A$1:$P$5000,AA$6,FALSE),"")
for example

I want to add comments transfering the information (TEXT) to column
(G)

How should the macro coding look like to do this?

Many thkx for your answer
Steven

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      6th Oct 2006
Sub BBB()
For Each cell In Range("I1:I3")
Cells(cell.Row, "G").NoteText Text:=cell.Text
Next
End Sub

--
Regards,
Tom Ogilvy


"pmipalma" wrote:

> Hi,
>
> I want to create a macro that will pick up a range of cells aa19:aa95
> In these cells there is a formula
> =IF($E19="YES",VLOOKUP($C19,'Brand Detail'!$A$1:$P$5000,AA$6,FALSE),"")
> for example
>
> I want to add comments transfering the information (TEXT) to column
> (G)
>
> How should the macro coding look like to do this?
>
> Many thkx for your answer
> Steven
>
>

 
Reply With Quote
 
pmipalma
Guest
Posts: n/a
 
      6th Oct 2006
Perfect Many thanks

You made my day

Works perfectly

Tom Ogilvy schreef:

> Sub BBB()
> For Each cell In Range("I1:I3")
> Cells(cell.Row, "G").NoteText Text:=cell.Text
> Next
> End Sub
>
> --
> Regards,
> Tom Ogilvy
>
>
> "pmipalma" wrote:
>
> > Hi,
> >
> > I want to create a macro that will pick up a range of cells aa19:aa95
> > In these cells there is a formula
> > =IF($E19="YES",VLOOKUP($C19,'Brand Detail'!$A$1:$P$5000,AA$6,FALSE),"")
> > for example
> >
> > I want to add comments transfering the information (TEXT) to column
> > (G)
> >
> > How should the macro coding look like to do this?
> >
> > Many thkx for your answer
> > Steven
> >
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If blank cell, copy information from cell above Oceangate Microsoft Excel Worksheet Functions 5 26th Jun 2009 03:57 AM
Need macro to check if cell is not blank & previous cell is blank, copy information from row above & paste JenIT Microsoft Excel Programming 4 12th Apr 2007 08:56 PM
Using macro to copy a part of a cell content to next cell =?Utf-8?B?Q2hhcmxlcw==?= Microsoft Excel Misc 6 31st May 2006 05:57 AM
macro to copy & paste cell data into another cell =?Utf-8?B?ZGFubnlib3k=?= Microsoft Excel Programming 2 23rd Dec 2005 05:01 PM
Help creating a macro to copy from one cell to another spreadsheet broc_ariums2003@yahoo.com Microsoft Excel Programming 1 20th Jul 2005 09:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:00 PM.