sedwardson
New Member
- Joined
- Mar 2, 2023
- Messages
- 35
- Office Version
- 365
- Platform
- Windows
I found this by Snakehips and it was VERY helpful ! I tried to modify it but found that it only works with numeric entries and not alpha numeric entries.
Rich (BB code):
The code I wrote (but failed to get to work) was:
This works with numbers but not for the range I have which is: 531PZ228173 - 531PZ228222
Can anyone help with how I might get the range to work with this cell entry. Thanks.
P.S. Sorry if I've missed some detail out or you require more from me. This is my first post ! Please bear with me
Rich (BB code):
VBA Code:
Sub Fill() [A4] = [A1].Value
ato = [B1].Value
[B4] = [A2].Value
bto = [B2].Value
[C4] = [A3].Value
cto = [B3].Value
[A4].DataSeries Rowcol:=xlColumns, Type:=xlLinear, Step:=1, Stop:=ato
[B4].DataSeries Rowcol:=xlColumns, Type:=xlLinear, Step:=1, Stop:=bto
[C4].DataSeries Rowcol:=xlColumns, Type:=xlLinear, Step:=1, Stop:=cto
End Sub
The code I wrote (but failed to get to work) was:
VBA Code:
Sub Fill()
[B3] = [B4].Value
bto = [C3].Value
[B4].DataSeries Rowcol:=xlColumns, Type:=xlLinear, Step:=1, Stop:=bto
End Sub
This works with numbers but not for the range I have which is: 531PZ228173 - 531PZ228222
Can anyone help with how I might get the range to work with this cell entry. Thanks.
P.S. Sorry if I've missed some detail out or you require more from me. This is my first post ! Please bear with me