Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default macro that loops till end of worksheet

Hello,
I'm trying to create a macro that based on a search, inserts a pagebreak. It
need to do this till end of worksheet - of which i won't know, being this
worksheet will continually grow. Any suggestions - thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default macro that loops till end of worksheet

Hi
for getting the lastrow see:
http://www.xldynamic.com/source/xld.LastValue.html#vba

--
Regards
Frank Kabel
Frankfurt, Germany

"Nadiya" schrieb im Newsbeitrag
...
Hello,
I'm trying to create a macro that based on a search, inserts a

pagebreak. It
need to do this till end of worksheet - of which i won't know, being

this
worksheet will continually grow. Any suggestions - thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro that loops till end of worksheet

See answer to your first posting of this question.

--
Regards,
Tom Ogilvy

"Nadiya" wrote in message
...
Hello,
I'm trying to create a macro that based on a search, inserts a pagebreak.

It
need to do this till end of worksheet - of which i won't know, being this
worksheet will continually grow. Any suggestions - 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 to loop till end of page Nadiya Excel Programming 1 November 10th 04 05:18 PM
Force Macro to wait till Refreshall is done NCSU_madman Excel Programming 3 November 10th 04 04:39 PM
Vlookup macro that returns data from worksheet, then Loops xlsxlsxls[_3_] Excel Programming 4 October 23rd 04 05:48 PM
Vlookup macro that returns data from worksheet, then Loops xlsxlsxls[_4_] Excel Programming 0 October 23rd 04 05:43 PM
Macro to nsert value from table, then next value, till done Sheryl Lang Excel Programming 1 December 5th 03 10:33 PM


All times are GMT +1. The time now is 09:42 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"