Excel date change VBA Issue -
i'm trying make macro change name of current sheet open in excel.
its taking information cell contains date in future cause format of date dd/mm/yyyy wont import it. i'm trying display 11th august 2011 or that. have got far , can't seem find on web.
sub changesheetname() newname = range("d2") activesheet.name = newname end sub
you can use newname = range("d2").text
date.
editted:
take note date format in cell need changed
Comments
Post a Comment