Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Today you've answered several questions in regards to finding the end of a
column and assigning it to a variable. I've attempted to use the information in these posts on the board and have been unable to make it work in my instance. I am doing some regression with the Analysis Toolpack and am trying to program a macro that will automatically look at how long a column is an assign that cell to a range. For instance, in the code below, I'd like to replace the two statements "ActiveSheet.Range("G6:G135")" as well as the one with the H6:H135 range with two new statements that generally states "ActiveSheet.Range("G6:(last occupied cell in each column")". .. .. .. Application.Run "ATPVBAEN.XLA!Regress", ActiveSheet.Range("G6:G135"), ActiveSheet.Range("H6:H135"), False, True, , _ "Weibull-LineToTheData", False, False, False, True, , False .. .. .. Thank you greatly in advance for your help! James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple range selection issue | Excel Discussion (Misc queries) | |||
I feel so dumb - please help - this is a Range issue | Excel Worksheet Functions | |||
Names.Add - Range Syntax Issue | Excel Programming | |||
Copy Range Issue | Excel Programming | |||
Excel Range issue | Excel Programming |