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
enter image description here


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -