J
james
hi everyone, it might sound strange, but bear with me.
I have a new document each time which the user types in.
They will then press a button to run a macro which:
-saves the file under a unique name
-automatically closes the file
I am fine with closing the file, it's the saving part i'm
having trouble with.
The user will supply their own unique name to save it
under, which they will type as the first line of the new
document. what i need a macro to do is to take
everything that is written on the first line of the
document and save it under that name.
eg. if the user is writing about cabbage number 5639 the
only thing on the first line will be "cabbage 5639"
(centre justified if that makes any difference)
as a last question will it matter if there is no ".doc"
on the end of the name at the top?
I have a new document each time which the user types in.
They will then press a button to run a macro which:
-saves the file under a unique name
-automatically closes the file
I am fine with closing the file, it's the saving part i'm
having trouble with.
The user will supply their own unique name to save it
under, which they will type as the first line of the new
document. what i need a macro to do is to take
everything that is written on the first line of the
document and save it under that name.
eg. if the user is writing about cabbage number 5639 the
only thing on the first line will be "cabbage 5639"
(centre justified if that makes any difference)
as a last question will it matter if there is no ".doc"
on the end of the name at the top?