Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Divide the values of 2 integer variables?

Divide the values of 2 integer variables?
I am trying to do this:

ActiveCell.FormulaR1C1 = "=The_Current_Cell_Data_Row/
The_Largest_Value_In_Column"

but it does not give me a value.
It gives me "#Name?" in the cell I am working on.

What an I doing wrong?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Divide the values of 2 integer variables?

If The_Current_Cell_Data_Row and The_Largest_Value_In_Column are
variables (rather than names in the workbook), then one way:

ActiveCell.Value = The_Current_Cell_Data_Row / _
The_Largest_Value_In_Column



In article .com,
LongBeachGuy wrote:

Divide the values of 2 integer variables?
I am trying to do this:

ActiveCell.FormulaR1C1 = "=The_Current_Cell_Data_Row/
The_Largest_Value_In_Column"

but it does not give me a value.
It gives me "#Name?" in the cell I am working on.

What an I doing wrong?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Divide the values of 2 integer variables?

On Oct 18, 5:07 pm, JE McGimpsey wrote:
If The_Current_Cell_Data_Row and The_Largest_Value_In_Column are
variables (rather than names in the workbook), then one way:

ActiveCell.Value = The_Current_Cell_Data_Row / _
The_Largest_Value_In_Column

In article .com,



LongBeachGuy wrote:
Divide the values of 2 integer variables?
I am trying to do this:


ActiveCell.FormulaR1C1 = "=The_Current_Cell_Data_Row/
The_Largest_Value_In_Column"


but it does not give me a value.
It gives me "#Name?" in the cell I am working on.


What an I doing wrong?- Hide quoted text -


- Show quoted text -


THANK YOU SO MUCH!!! YOUR EITHER AN ANGEL OR GOD HIMSELF!!!!
I have been on this problem since 6 AM today!!! IT is 6 PM now.

THANK YOU, THANK YOU,THANK YOU, THANK YOU, THANK YOU, THANK YOU,THANK
YOU, THANK YOU,!!!!

Jose


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
Excel can't divide by non integer numbers anymore Michiel via OfficeKB.com Excel Discussion (Misc queries) 3 March 25th 10 01:08 PM
Set Integer Variables back to Zero NickHK Excel Programming 0 December 7th 06 01:45 AM
Concatenate two variables (String & Integer) Sreenivas Varadhan Excel Programming 3 December 12th 05 01:28 PM
Declaring variables (Long, String, Integer) and interpretation spe MrT Excel Programming 4 December 12th 04 12:43 PM
Convert values in a variant array to integer values Graham McNeill Excel Programming 1 November 13th 04 12:47 AM


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