#1   Report Post  
Posted to microsoft.public.excel.misc
kleivakat
 
Posts: n/a
Default Macros

I'm very new at macros. In creating the macro, I want to go to the cell that
has the words "END OF REPORT" and then add rows. I got itto add the rows,
but I don't know how to get it to always go to "END OF REPORT", which will be
on different line every time it's modified. (But always in Column A).
Thanks for any help you can provide.

KK
  #2   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett
 
Posts: n/a
Default Macros

Have a look in vba help for FIND

Sub findtext()
With Cells(Columns(1).Find("xx").Row, 1)
..Select
'.Rows.Insert
'or
..Offset(1).Rows.Insert
End With
End Sub

--
Don Guillett
SalesAid Software

"kleivakat" wrote in message
...
I'm very new at macros. In creating the macro, I want to go to the cell
that
has the words "END OF REPORT" and then add rows. I got itto add the rows,
but I don't know how to get it to always go to "END OF REPORT", which will
be
on different line every time it's modified. (But always in Column A).
Thanks for any help you can provide.

KK



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
Excel crashes while opening excel file imbeddied with macros ct2147 Excel Discussion (Misc queries) 0 December 30th 05 09:05 PM
calling a series macros with a marco gerry405 Excel Discussion (Misc queries) 0 October 18th 05 01:23 PM
Deleting Macros Mike Excel Worksheet Functions 2 May 25th 05 04:54 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM
Transferring toolbars and macros to other computers Darrell Excel Discussion (Misc queries) 1 January 19th 05 12:21 AM


All times are GMT +1. The time now is 10:42 AM.

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"