ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   2 part VBA Find problem (https://www.excelbanter.com/excel-discussion-misc-queries/169084-2-part-vba-find-problem.html)

jlclyde

2 part VBA Find problem
 
I have a worksheet where I need to find the Maximum value in a range
and add one to that number and add it at the bottom of my range.

At some later point I will be bringing information back to this
worksheet and i will need to find that number and place data into
cells on the same row.

If any one can help with these two problems, it woudl be greatlly
appreciated.
Thanks,
Jay

Bob Phillips

2 part VBA Find problem
 
rng(rng.Count).Offset(1, 0).Value = Application.Max(rng) + 1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"jlclyde" wrote in message
...
I have a worksheet where I need to find the Maximum value in a range
and add one to that number and add it at the bottom of my range.

At some later point I will be bringing information back to this
worksheet and i will need to find that number and place data into
cells on the same row.

If any one can help with these two problems, it woudl be greatlly
appreciated.
Thanks,
Jay





All times are GMT +1. The time now is 09:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com