Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Conditional formatting with a macro

I have a worksheet (Summary) that pulls information from another worksheet
(Manager).

I want to run a macro from the Manager worksheet, that first looks at every
number in column A, and tries to find it in column A of the Summary
worksheet. If the number isnt there, I want it to go back to the Manager
worksheet and colour the cell red.

Is this possible?

Thanks,
Diana Morrison
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Conditional formatting with a macro

You don't need a macro for it!

Create a named range of column A of the Summary worksheet, say SummaryAcol,
and add conditional formatting to column A of Manager worksheet with this
formula:

=AND(NOT(ISBLANK(A1)),ISERROR(MATCH(A1,SummaryAcol ,0)))

Regards,
Stefi

€˛Diana Morrison€¯ ezt Ć*rta:

I have a worksheet (Summary) that pulls information from another worksheet
(Manager).

I want to run a macro from the Manager worksheet, that first looks at every
number in column A, and tries to find it in column A of the Summary
worksheet. If the number isnt there, I want it to go back to the Manager
worksheet and colour the cell red.

Is this possible?

Thanks,
Diana Morrison

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Conditional formatting with a macro

Thanks, I'll give it a go!

"Stefi" wrote:

You don't need a macro for it!

Create a named range of column A of the Summary worksheet, say SummaryAcol,
and add conditional formatting to column A of Manager worksheet with this
formula:

=AND(NOT(ISBLANK(A1)),ISERROR(MATCH(A1,SummaryAcol ,0)))

Regards,
Stefi

€˛Diana Morrison€¯ ezt Ć*rta:

I have a worksheet (Summary) that pulls information from another worksheet
(Manager).

I want to run a macro from the Manager worksheet, that first looks at every
number in column A, and tries to find it in column A of the Summary
worksheet. If the number isnt there, I want it to go back to the Manager
worksheet and colour the cell red.

Is this possible?

Thanks,
Diana Morrison

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
Conditional Formatting Macro Daren Excel Discussion (Misc queries) 2 June 27th 07 10:58 PM
Macro Conditional Formatting Sandy Excel Worksheet Functions 2 May 10th 07 02:25 PM
Conditional Formatting in a Macro Ed Excel Discussion (Misc queries) 2 August 28th 06 11:23 PM
Conditional Formatting in Macro shantanu oak Excel Discussion (Misc queries) 2 July 14th 06 01:11 PM
Macro/conditional formatting BigMac Excel Discussion (Misc queries) 1 December 6th 04 11:24 PM


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