![]() |
|
#1
|
|||
|
|||
![]()
We would need to change parts, or to make it a variable
for example, this line has a varible for the number of rows (namescount + 4), so we would need to work out where the new 'J' would be. Code:
Set SSOldData = Worksheets("SS Hours Scoutbook Money").Range("a5:j" & NamesCount + 4) Code:
SSLastCol = Chr(64 + Worksheets("SS Hours Scoutbook Money").Range("4:4").Find(what:="Prizes").Column) Code:
Set SSOldData = Worksheets("SS Hours Scoutbook Money").Range("a5:" & SSLastCol & NamesCount + 4) Edit and the totals columns.... |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
FUGMAN | Excel Programming | 8 | 02-18-2017 09:47 AM |
![]() |
Ryga38 | Excel | 1 | 04-15-2016 07:21 AM |
![]() |
gdavey | Excel Programming | 1 | 09-06-2015 11:09 AM |
Index Match Function across different worksheets | shay_mt | Excel | 2 | 04-27-2015 06:04 AM |
![]() |
DavidW | Excel | 3 | 10-09-2014 07:08 AM |