F
FIRSTROUNDKO via OfficeKB.com
Hi,
I would like to change this code
If cells (mydel, 1).text ="car" or cells (mydel, 2).text ="bus" or cells
(mydel, 2).text ="walk" then
into
if cells ( "all cells in the current region", 2) then
where those in the code can be changed before running the macro
i.e the modes of transport start in Sheet1, range A1 and can vary in number
car
bus
walk
....
....
Thanks in advance
I would like to change this code
If cells (mydel, 1).text ="car" or cells (mydel, 2).text ="bus" or cells
(mydel, 2).text ="walk" then
into
if cells ( "all cells in the current region", 2) then
where those in the code can be changed before running the macro
i.e the modes of transport start in Sheet1, range A1 and can vary in number
car
bus
walk
....
....
Thanks in advance