LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Cell Contents as text in Msg Box

Hi


Is there any way to take the contents of a cell & add that to the text you
programme into a Msg Box in VB?


For example, lets say cell A1 has the following formula "=Now()", meaning
text that says "10/05/06 13:47"


& I want the Msg Box to read "You Logged Out At 10/05/06 13:47."

Is there a way of sinking this formula into the VB code for a Msg Box? On a
spreadsheet i would obviously use (="You Logged Out At "&A1&"."), but VB is
getting confusing!


Any help gratefully receieved


cheers


jb
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy cell contents, then paste into the same cell with other text. bluenote31 Excel Discussion (Misc queries) 4 February 9th 10 09:18 PM
Can I out the contents of a text box into a cell? Linda B Excel Discussion (Misc queries) 2 July 10th 06 07:45 AM
Display contents of cell in another cell as part of text string? [email protected] New Users to Excel 3 July 8th 06 07:44 PM
evaluating text cell contents Dave B Excel Discussion (Misc queries) 1 January 3rd 06 10:51 PM
Cell only shows link in text, not contents of reference cell Jay Mac New Users to Excel 4 August 23rd 05 08:36 PM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"