Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default Losing Data

Good Afternoon,

I've used the same code below in several of my previous workbooks. I use it
to enforce entry into a worksheet related cell and make sure it's completed
before proceeding. This particular instance is housed with a larger macro,
but it's acting different than past applications.

The person using this worksheet enters data and then presses a custom send
button. This message pops up if M20 is not completed. In past workbooks, the
code simply halts and they just enter the data to satisfy the request and
press send again. This is not the case with this use. It's stopping, but
deleting their data.

Is there a simple command I could use to request Clear contents = False - or
something of that nature so it exists sub, but doesn't take their data with
it?

Thanks - Jenny B.

If ActiveSheet.Range("m20") = "" Then
MsgBox "Please Review Legal Name and Document in Comments."
Exit sub
End If
 
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
Losing data on a shared workbook Martin Excel Discussion (Misc queries) 3 September 5th 07 08:24 PM
losing data / formatting.. nastech Excel Discussion (Misc queries) 2 January 30th 06 11:40 PM
How do I merge two columns without losing data? Caseybay Excel Discussion (Misc queries) 4 January 13th 06 09:03 PM
Keeping data without losing Formula's Inneed Excel Discussion (Misc queries) 3 August 17th 05 06:51 AM
saving dbf file without losing data govworker Excel Discussion (Misc queries) 0 February 7th 05 11:27 PM


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

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"