LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default making a formula over varying ranges

I believe my code already answers your questions.

--
Regards,
Tom Ogilvy


"Hein" wrote in message
...

Thanks Vacation's over and Tom for your answers!

Maybe we are looking for a too complicated answer?

I've been thinking since my last post (quite a headache now ;-) ) and
maybe the answer isn't so complicated.

If you have a line of filled cells (e.g. in a column) you can go to the
last cell by either using <<end-arrow down of by using << ctrl-arrow
down.
Do any of you guys know to capture this in VBA?

2nd question. Sometimes the line of cells is interrupted by a blank
cell. To be sure to not miss a cell: is it possible to stop the macro
after the above mentioned <<ctrl-arrow down part so that I have the
change to include more cells after the blank cell, and using the enter
key continues the code??

If I can pull this off I'm sure I can get it working.

By the way vacation's over: the reason for my asking this question is
that I have to do this trick several hunderds of times, maybe over a
thousand. Just typing the formula takes a lot of time!

Thanks for any help
Hein


--
Hein
------------------------------------------------------------------------
Hein's Profile:

http://www.excelforum.com/member.php...o&userid=24744
View this thread: http://www.excelforum.com/showthread...hreadid=474730





 
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
Creating a chart with varying data value ranges Anthony Blackburn Excel Discussion (Misc queries) 1 May 17th 10 05:41 PM
sumproduct with varying column ranges rami Excel Worksheet Functions 1 November 20th 08 12:43 AM
Calculation for varying ranges kjh198 Excel Worksheet Functions 3 June 5th 08 10:06 PM
Using macro/vba to copy varying ranges of rows BCLivell Excel Discussion (Misc queries) 3 June 6th 07 02:52 PM
Creating Macros to work with ranges of varying sizes Excel Grasshopper Excel Programming 3 August 26th 05 05:55 AM


All times are GMT +1. The time now is 07:27 PM.

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"