LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Macro to find end of rows and print message

I have this recorded macro:
Sub Macro2()
Selection.SpecialCells(xlCellTypeLastCell).Select
Range("I41").Select
Selection.End(xlToLeft).Select
ActiveCell.FormulaR1C1 = "this is a test"
Range("B41").Select
End Sub
How can I get it to go to the bottom of the data regardless of the number of
rows?
Ain't I a dummy??
 
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 to find and paste rows kayabob Excel Discussion (Misc queries) 4 February 21st 07 01:50 AM
Macro to find and delete rows! Heather O'Malley Excel Discussion (Misc queries) 2 April 12th 06 01:53 PM
Macro to: Find a Reference, and then Paste into the 10 Rows Below Blobbies Excel Discussion (Misc queries) 9 March 14th 06 11:17 AM
Macro - message box if find nothing Frantic Excel-er Excel Discussion (Misc queries) 8 July 1st 05 08:45 PM
macro to not print blank value rows in invoice Dave Excel Worksheet Functions 1 November 3rd 04 07:21 PM


All times are GMT +1. The time now is 01:43 AM.

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

About Us

"It's about Microsoft Excel"