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

Ok, Newbie question again-tried to figure it out myself but no luck so far.

I type a date in cell Fx and check its value in Qx and if it's egual to a
1(Sunday) then I return a message in cell Kx, "Don't use Sunday start date".
I don't want to write my message in Kx any longer, I want to have a msg box
where the user clicks ok, and it returns user to cell Fx to try again.

I have no clue but do I want a string like the one below (except one that
actually works) and where do I put it - in Kx?


=IF(Q63=1, Msgbox (title:="Don't use Sunday Start"),(Type:=vbOKonly)

Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Msg Box Help

I think you need Data Validation, which can do most if not all you describe.
See http://www.contextures.com/xlDataVal01.html

--
HTH

Bob Phillips

"Janet H" wrote in message
...
Ok, Newbie question again-tried to figure it out myself but no luck so

far.

I type a date in cell Fx and check its value in Qx and if it's egual to a
1(Sunday) then I return a message in cell Kx, "Don't use Sunday start

date".
I don't want to write my message in Kx any longer, I want to have a msg

box
where the user clicks ok, and it returns user to cell Fx to try again.

I have no clue but do I want a string like the one below (except one that
actually works) and where do I put it - in Kx?


=IF(Q63=1, Msgbox (title:="Don't use Sunday Start"),(Type:=vbOKonly)

Thank you!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Msg Box Help

Bob, Looks like exactly what I need. Thank you again.

"Bob Phillips" wrote:

I think you need Data Validation, which can do most if not all you describe.
See http://www.contextures.com/xlDataVal01.html

--
HTH

Bob Phillips

"Janet H" wrote in message
...
Ok, Newbie question again-tried to figure it out myself but no luck so

far.

I type a date in cell Fx and check its value in Qx and if it's egual to a
1(Sunday) then I return a message in cell Kx, "Don't use Sunday start

date".
I don't want to write my message in Kx any longer, I want to have a msg

box
where the user clicks ok, and it returns user to cell Fx to try again.

I have no clue but do I want a string like the one below (except one that
actually works) and where do I put it - in Kx?


=IF(Q63=1, Msgbox (title:="Don't use Sunday Start"),(Type:=vbOKonly)

Thank you!




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



All times are GMT +1. The time now is 04:02 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"