Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nishapurohit
 
Posts: n/a
Default can you make a cell value required?


I am sending a excel spreadsheet out to my end users to collect business
related data.

I'd like to make a cell value required, is this possible?

If answer to question asked in column F is "YES", make column E a
required. Can this be done using excel?


--
nishapurohit
------------------------------------------------------------------------
nishapurohit's Profile: http://www.excelforum.com/member.php...o&userid=30983
View this thread: http://www.excelforum.com/showthread...hreadid=506582

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default can you make a cell value required?

I'd use column G:

=if(f2<"yes","","Please answer the question in column E!")

Format it in nice big bold red letters.

nishapurohit wrote:

I am sending a excel spreadsheet out to my end users to collect business
related data.

I'd like to make a cell value required, is this possible?

If answer to question asked in column F is "YES", make column E a
required. Can this be done using excel?

--
nishapurohit
------------------------------------------------------------------------
nishapurohit's Profile: http://www.excelforum.com/member.php...o&userid=30983
View this thread: http://www.excelforum.com/showthread...hreadid=506582


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
PipTT
 
Posts: n/a
Default can you make a cell value required?


Once you've got your answer you can write a macro that will run when the
workbook is saved. Maybe not the most succinct method, but the only one
I know:

In 'ThisWorkbook' write:

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If Cells(y1,6).value = "yes" then
If Cells(y2,5).value = "" then
MsgBox("Please enter value in cell y2,5)
Cancel = True
End If
End If
End Sub

where y1 and y2 are the relevant rows.


--
PipTT
------------------------------------------------------------------------
PipTT's Profile: http://www.excelforum.com/member.php...o&userid=30989
View this thread: http://www.excelforum.com/showthread...hreadid=506582

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
How do I make a cell required to edit in Excell? Belinda Excel Discussion (Misc queries) 1 November 4th 05 04:43 PM
How to take a cell that has 3 values and make 2 more new lines Phil Excel Worksheet Functions 4 October 23rd 05 10:53 PM
Can I make a formula in Excel to display result in same cell? Neiko Excel Worksheet Functions 2 October 1st 05 10:36 PM
How to make a flexible cell reference? Mar Vernooy Excel Discussion (Misc queries) 2 July 1st 05 01:33 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM


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