Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Formats not updating with newly pulled data

Ive run into a conditional formatting issue. I have a UDF to pull data from
other workbooks, a worksheet-change code to conditionally format my cells,
and an OnTime function that updates the pulled data every 5 minutes. The
timer works, the pull function works, and the conditional formatting works
until new data is pulled into the worksheet. Once the cell color formatting
is set, it doesnt change with the newly pulled data. In order for me to get
the cell formatting to reflect the color choices in the code, I have to
select the cell and put my cursor into the formula and press enter, then it
will finally change colors. Im using CalculateFull within the timer and Ive
tried CalculateFullRebuild (although I dont know the difference) and tried
DoEvents. Id like for it to update the colors automatically at the time data
is updated. What can I do to trigger this? (Im running Excel 2003, and I
dont have the option to use the CFPlus Add-In.) Any help is much
appreciated!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Formats not updating with newly pulled data

This is from Worksheet_Change help file:

This event doesn't occur when cells change during a recalculation. Use the
Calculate event to trap a sheet recalculation.

This is from the FormatConditions help file:

Use the FormatConditions property to return a FormatConditions object. Use
the [Add] method to create a new conditional format, and use the [Modify]
method to change an existing conditional format.

From what I see, you would need to have code to modify after the initial add
takes place, and cannot use calculate to trigger the worksheet change event
if that is how you are running the format conditions code.

"Stonewall Rubberbow" wrote:

Ive run into a conditional formatting issue. I have a UDF to pull data from
other workbooks, a worksheet-change code to conditionally format my cells,
and an OnTime function that updates the pulled data every 5 minutes. The
timer works, the pull function works, and the conditional formatting works
until new data is pulled into the worksheet. Once the cell color formatting
is set, it doesnt change with the newly pulled data. In order for me to get
the cell formatting to reflect the color choices in the code, I have to
select the cell and put my cursor into the formula and press enter, then it
will finally change colors. Im using CalculateFull within the timer and Ive
tried CalculateFullRebuild (although I dont know the difference) and tried
DoEvents. Id like for it to update the colors automatically at the time data
is updated. What can I do to trigger this? (Im running Excel 2003, and I
dont have the option to use the CFPlus Add-In.) Any help is much
appreciated!!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Formats not updating with newly pulled data

Of course, the modify is only if you want to change the parmeters of the
initial setting.

"Stonewall Rubberbow" wrote:

Ive run into a conditional formatting issue. I have a UDF to pull data from
other workbooks, a worksheet-change code to conditionally format my cells,
and an OnTime function that updates the pulled data every 5 minutes. The
timer works, the pull function works, and the conditional formatting works
until new data is pulled into the worksheet. Once the cell color formatting
is set, it doesnt change with the newly pulled data. In order for me to get
the cell formatting to reflect the color choices in the code, I have to
select the cell and put my cursor into the formula and press enter, then it
will finally change colors. Im using CalculateFull within the timer and Ive
tried CalculateFullRebuild (although I dont know the difference) and tried
DoEvents. Id like for it to update the colors automatically at the time data
is updated. What can I do to trigger this? (Im running Excel 2003, and I
dont have the option to use the CFPlus Add-In.) Any help is much
appreciated!!!

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
Create column with data pulled from header row Kirk Ace Art Excel Discussion (Misc queries) 3 November 11th 07 11:19 PM
Specific data pulled to new tab Kat Excel Discussion (Misc queries) 2 October 20th 07 12:18 PM
How do I manipulate data pulled from within an excel calendar? wkalmbach Excel Discussion (Misc queries) 1 August 21st 07 03:46 PM
Using AutoFilter to Sort Data Pulled in by INDEX / MATCH A Romeo Jr Excel Worksheet Functions 7 January 30th 06 11:43 PM
Refreshing Data Pulled Thru a Function Chris Brown[_2_] Excel Programming 2 June 9th 05 07:30 PM


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