View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
brook6 brook6 is offline
external usenet poster
 
Posts: 3
Default Paste to variable number of rows

I finally got around to trying this and got a syntax error...any idea why?
Is 'TheSheet' the name of my worksheet? what does the underline do at end of first line of text?

thx

----- mudraker wrote: -----

GetBottomRow = TheSheet.Cells.Find(what:="*", SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious).Row

range("a1:A" & getbottomrow).select


---
Message posted from http://www.ExcelForum.com/