![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2002
Posts: 1,249
|
I have a line in my macro as follow:
MsgBox Range("K65536").End(xlUp).Address Is there a possibility to add a title in this messagebox.If yes,how to do it? Many thanks in advance |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Kobe, Japan
Posts: 1,418
|
Hi verluc,
Like this... MsgBox Range("K65536").End(xlUp).Address, Title:="As you like"
__________________
Regards, Masaru Kaji aka Colo - Microsoft MVP Since 2004 Please feel free to visit our forum too. |
|
|
|
|
|
#3 | |
|
Join Date: Mar 2002
Posts: 1,249
|
Quote:
Can you also give me the code,so that the display give not,for example $K$3520 but only the number 3520 Thanks in advance |
|
|
|
|
|
|
#4 | ||
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,208
|
Quote:
|
||
|
|
|
|
|
#5 | |||
|
Join Date: Mar 2002
Posts: 1,249
|
Quote:
Thanks. [ This Message was edited by: verluc on 2002-06-20 12:11 ] |
|||
|
|
|
|
|
#6 | ||||
|
Join Date: Mar 2002
Posts: 1,249
|
Quote:
Many thanks for help. |
||||
|
|
|
|
|
#7 |
|
Join Date: Aug 2002
Posts: 210
|
Alo how would one go about putting a title in the MsgBox for this code? thx
If [D25].Value = "" Then MsgBox "Incomplete INVOICE, please complete all required fields." End ElseIf [L25].Value = "" Then MsgBox "Incomplete INVOICE, please complete all required fields." End ElseIf [L31].Value = "" Then MsgBox "Incomplete INVOICE, please complete all required fields." End |
|
|
|
|
|
#8 |
|
MrExcel MVP
Join Date: Sep 2002
Location: Suffolk, UK
Posts: 7,269
|
Message Boxes are pretty straight forward
MsgBox message, vbyesno (or whatever), title _________________ LASW10 [ This Message was edited by: lasw10 on 2002-10-24 05:36 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|