LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default NEED HELP QUICK!

Thank you so much, Gordon and Peo Sjoblom! Your help has been invaluable to
me.

"Gord Dibben" wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$H$1" And Target.Value < "Agency" _
And Target.Value < "Employee Traveler" Then
Target.Offset(1, 0).Value = ""

End If
stoppit:
Application.EnableEvents = True
End Sub

This is sheet event code. Right-click on the sheet tab and "View Code".

Copy/paste into that sheet module.


Gord Dibben MS Excel MVP

On Thu, 20 Sep 2007 09:56:01 -0700, excel-chump
wrote:

I have until the end of the day (5pm est) to resolve this issue!
Now that I have your suggestion working I have a followup question:

I select "Agency" in H1 that allows input into H2
I put in "4.5", which reads as $4.50
I then change in H1 to "Permanent Resident"
H2 still displays "$4.50"

How do I get H2 to return blank when neither "Agency" or "Employee Traveler"
is chosen after the previous steps have been taken? Clearly the field can be
cleared manually, but I want to take out the human error of forgetting to go
back and change this.





 
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
Help quick nempo Excel Worksheet Functions 3 July 20th 06 10:22 PM
I need quick help please! Sutemi Charts and Charting in Excel 1 June 8th 06 08:51 AM
HELP QUICK I NEED TO KNOW HOW TO ... Kai Jam via OfficeKB.com Excel Discussion (Misc queries) 2 June 8th 05 03:16 AM
NEED HELP QUICK AGAIN! The_ tone Excel Discussion (Misc queries) 0 May 10th 05 07:20 PM
Hi! I need some quick help! Al pal Excel Discussion (Misc queries) 3 February 12th 05 09:37 PM


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