Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Guys,
I have the following formula: Range("G1").Formula = "=count(R5C4:R65000C4)" Which counts filled cells in column D. It comes to the right result of 27, which is then displayed on the cell. (G1) I then pick this value up into a variable for further calculations which were wrong... Tq = Range("G1").Value So I checked the value of the variable Tq: Range("g2").Value = Tq and it gives 1362 ... I wonder how this is? Also when i have the macro paste special values G1 into G1 it goes from 27 (correct) to 1362 (wrong). What am I doing wrong? Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Weird VBA Behaviour | Excel Worksheet Functions | |||
Weird WindowsMediaPlayer behaviour | Excel Discussion (Misc queries) | |||
Excel2000: Weird behaviour in VBA | Excel Discussion (Misc queries) | |||
Excel2000: Weird chart behaviour | Excel Discussion (Misc queries) | |||
Weird range property behaviour | Excel Programming |