Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Sheet change or sheet calculate?

Hi,

I've made a workbook with 15 sheets in it. The first 12 contains each month
of a year, with formula's in most of the cells.
The 13th sheet contains the entire year, with formula's in some of the
cells, and cells than can be changed by someone.
In one of the cells on worksheet 13, when a value changes, the entire
workbook must be recalculated. This cell is "A1".
When someone puts a value in cell "C6" on worksheet 13, the bgcolor of "C6"
and the bgcolor of "C5" must change. So far so good. That works fine, but
when I set folowing code for sheet 13, I get problems in the vba code for
setting the right colors.
Code :
Private Sub Worksheet_Change(ByVal Target As Range)

If Not Intersect(Target, Range("a1")) Is Nothing Then
Call FeestdagInstellen
End If
'With Target
'If Target.Row 3 Then
'If Not .HasFormula Then
'If Not .Value = "inac" Then
'Target.Value = StrConv(Target.Value, vbUpperCase)
'End If
'End If
'End If
'End With

End Sub
I can not put the entire code from the Modules in here, because it is very
large.
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
have calculations from sheet one calculate in table on sheet two earl Excel Programming 1 August 29th 07 08:00 PM
Calculate active sheet on sheet selection a94andwi[_11_] Excel Programming 1 September 26th 05 05:23 PM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_584_] Excel Programming 0 October 6th 04 12:57 PM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_582_] Excel Programming 0 October 6th 04 10:17 AM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_580_] Excel Programming 1 October 6th 04 09:30 AM


All times are GMT +1. The time now is 06:24 PM.

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"