Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In article , Dave Peterson
writes This may work, too: MsgBox "Please go to " & Range("A1").text & " for further" Hi Dave OK thanks for that - it works perfectly first time also. Best Wishes On 06/01/2011 21:33, Rick Rothstein wrote: As the content is a date , it is returning 01/01/2011 in the message box, when the cell itself is formatted to read January 2011. Is it possible to modify the code to return a mmmm yyyy format in the message box? You do realize if you don't tell us all of your conditions up front, there is minimum chance that we would be able to guess them, right? Give this code a line a try... MsgBox "Please go to " & Format(Range("A1").Value, _ Range("A1").NumberFormat) & " for further" Rick Rothstein (MVP - Excel) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
concatenate contents of cells whose contents resemble cell referem | Excel Worksheet Functions | |||
Return cell address of a cell based on contents of cell. | Excel Worksheet Functions | |||
nested Cell("contents", w/ cell contents reference) | Excel Worksheet Functions | |||
Macro to remove contents of cell and move all other contents up one row | Excel Discussion (Misc queries) | |||
Cell contents vs. Formula contents | Excel Discussion (Misc queries) |