LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Excel 2007 macro does not work

The following macro was working in E2003, now that I've converted to E2007 is
does not. Any ideas?

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("D7"), Target) Is Nothing Then
Range("A29:A42").EntireRow.Hidden = False

If Target.Value = "Refund: Client requested a cash refund." Then
Range("a29:a32").EntireRow.Hidden = True

ElseIf Target.Value = "Write off (Bad Debt): Client unwilling to pay
and determination made to stop collection process." Then
Range("a33:a42").EntireRow.Hidden = True

Else
Range("A29:a32").EntireRow.Hidden = True
End If
End If
End Sub
--
Maritza
 
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
why doesn't this simple macro work in excel 2007? ManhattanRebel Excel Discussion (Misc queries) 8 July 19th 08 06:37 PM
macro does not work in Office 2007... suggestions: jatman Excel Discussion (Misc queries) 2 June 13th 08 12:11 AM
EXCEL 97 WORK IN 2007? PETERFST Excel Discussion (Misc queries) 2 January 27th 08 11:14 PM
Why doesn't this work in Excel 2007? Is this a bug? Phil Excel Programming 1 April 2nd 07 11:01 AM
Lost all my work in Excel 2007 Cali Tech Excel Discussion (Misc queries) 3 March 9th 07 08:01 PM


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