cloudstrife11
Programmer
Does anyone know how to specify in excel what cell the 'Write' statement sends strings to?
x = "Some Text"
sFile = "H:\My Documents\ExcelMacro.xls"
Open append sFile as #1
write #1, x
close #1
This will write to cell A1. If the marco is ran again, it will write to A2, and so on.
Does anyone know how to write to cell B1? or C2? or D8?
Thanks
x = "Some Text"
sFile = "H:\My Documents\ExcelMacro.xls"
Open append sFile as #1
write #1, x
close #1
This will write to cell A1. If the marco is ran again, it will write to A2, and so on.
Does anyone know how to write to cell B1? or C2? or D8?
Thanks