Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Simple Message Box

Hi,

At the end of my macro I've got a simple message box appearing stating that
the process has finished.

I need another one to appear after that one and I need it to have A Report
Title and Report Number in the box.

The report title is in Cell A2 and the Report Number is in K2.

Is there any way of referencing cells in the code for a Message box?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Simple Message Box

msgbox("Report Title : " & Range("A2") & "; Report Number : " & Range("K2"))

"N1KO" wrote:

Hi,

At the end of my macro I've got a simple message box appearing stating that
the process has finished.

I need another one to appear after that one and I need it to have A Report
Title and Report Number in the box.

The report title is in Cell A2 and the Report Number is in K2.

Is there any way of referencing cells in the code for a Message box?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Simple Message Box

Thanks for this Joel,

I've decided to have a form created and have the Number and Title on top of
each other rather than a message box.

"joel" wrote:

msgbox("Report Title : " & Range("A2") & "; Report Number : " & Range("K2"))

"N1KO" wrote:

Hi,

At the end of my macro I've got a simple message box appearing stating that
the process has finished.

I need another one to appear after that one and I need it to have A Report
Title and Report Number in the box.

The report title is in Cell A2 and the Report Number is in K2.

Is there any way of referencing cells in the code for a Message box?

Reply
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
#VALUE! error message in simple sum function Sandog Excel Worksheet Functions 4 July 29th 08 06:59 PM
Simple message box question zeyneddine Excel Discussion (Misc queries) 4 August 23rd 06 06:08 PM
Simple message box question zeyneddine Excel Discussion (Misc queries) 1 August 14th 06 08:23 PM
Simple Checkbox Message Code nemadrias Excel Discussion (Misc queries) 10 June 21st 06 08:59 PM
Simple message Yes No... jmhadp Excel Programming 5 July 19th 05 01:35 AM


All times are GMT +1. The time now is 07:44 AM.

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

About Us

"It's about Microsoft Excel"