ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Instructions within VBA Functions (https://www.excelbanter.com/excel-programming/312840-instructions-within-vba-functions.html)

silvest[_7_]

Instructions within VBA Functions
 

Niek Otten Wrote:


You can do what you require in a macro, or you can construct
function
which returns the date as a string. Of course the function call wil
need an
extra cell.




Thanks Niek.
Just to clarify what you mean by "function which returns the date as
string".

Is it just taking a cell, and switching 20040131 (31st Jan) around t
31/01/2004 using the left,mid and right functions ? and it bein
returned as a string?

But then again, I still won't be able to convert it to Excel Dat
Format right

--
silves
-----------------------------------------------------------------------
silvest's Profile: http://www.excelforum.com/member.php...fo&userid=1466
View this thread: http://www.excelforum.com/showthread.php?threadid=26728



All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com