If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > MSGBOX active cell and custom msg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-10, 15:50
mxtreme mxtreme is offline
Registered User
 
Join Date: Apr 2010
Posts: 11
MSGBOX active cell and custom msg

Hi
How would I write a code to give me a
msg box with a cell ref and a custom msg box?

I know this part works
msgbox activecell.value

how do I add a custom message to go along with in the same msgbox?

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-28-10, 16:10
Sinndho Sinndho is online now
Registered User
 
Join Date: Mar 2009
Posts: 3,446
This is a forum dedicated to MS-Access, not MS-Excel. Post your questions to:
Microsoft Excel - dBforums
__________________
Have a nice day!
Reply With Quote
  #3 (permalink)  
Old 04-29-10, 10:58
Ax238 Ax238 is offline
Registered User
 
Join Date: May 2009
Posts: 257
You just add the message:
Code:
MsgBox "The value is " & ActiveCell.Value
Regards,

Ax
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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