Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
pcor
 
Posts: n/a
Default Excel macro required

Hi All
Need a hand please...
Will someone tell/show me how to write a macro that will do the following\
In EXCEL I want the macro to: go to I1(Col I at the very top). Then type in
the words
"NEW" then copy this word all the way down to include all the lines that
have information.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.newusers
JE McGimpsey
 
Posts: n/a
Default Excel macro required

This partly depends on how you define "all lines that have information".
If all rows that contain data have a value in column A, then something
like this is one way:

Public Sub NewInColumnI()
Range("I1:I" & Range("A" & Rows.Count).End(xlUp).Row).Value = "NEW"
End Sub



In article ,
"pcor" wrote:

Hi All
Need a hand please...
Will someone tell/show me how to write a macro that will do the following\
In EXCEL I want the macro to: go to I1(Col I at the very top). Then type in
the words
"NEW" then copy this word all the way down to include all the lines that
have information.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
pcor
 
Posts: n/a
Default Excel macro required

I can only say one thing......PERFECT.
Thansk... I guess that was two


"JE McGimpsey" wrote:

This partly depends on how you define "all lines that have information".
If all rows that contain data have a value in column A, then something
like this is one way:

Public Sub NewInColumnI()
Range("I1:I" & Range("A" & Rows.Count).End(xlUp).Row).Value = "NEW"
End Sub



In article ,
"pcor" wrote:

Hi All
Need a hand please...
Will someone tell/show me how to write a macro that will do the following\
In EXCEL I want the macro to: go to I1(Col I at the very top). Then type in
the words
"NEW" then copy this word all the way down to include all the lines that
have information.
Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Help In Excel welshlad Excel Discussion (Misc queries) 14 October 26th 05 02:34 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Macro to close excel okanem Excel Discussion (Misc queries) 1 July 19th 05 10:01 AM
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM
Excel macro that opens new MS Word file and pastes data as a pictu Rob Excel Worksheet Functions 0 July 6th 05 05:12 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"