Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default range calculations

If I am try to put an equation in a cell how do I reference the cell


Range("E1:E100").Value = "=D<row / 100000"

Obviously this doesn't work but what would be the correct syntax to do
something like this. I don't want to do a loop.


Thanks
Mike


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default range calculations

Just
Range("E1:E100").Value = "=D5 / 100000"

"Mike" wrote:

If I am try to put an equation in a cell how do I reference the cell


Range("E1:E100").Value = "=D<row / 100000"

Obviously this doesn't work but what would be the correct syntax to do
something like this. I don't want to do a loop.


Thanks
Mike


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default range calculations

Mike:

try,

Row = 5
Range("E1:E100").Formula = "=D" & Row & "/100000"

--
天行健,君*以自強不息
地勢坤,君*以厚德載物

http://www.vba.com.tw/plog/


"Mike" wrote:

If I am try to put an equation in a cell how do I reference the cell


Range("E1:E100").Value = "=D<row / 100000"

Obviously this doesn't work but what would be the correct syntax to do
something like this. I don't want to do a loop.


Thanks
Mike


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default range calculations

Thanks that did it. I didn't realize I could put my starting row in the
first cell and the rows would advance as it moved down the range.

Thanks
Mike

"Alok" wrote:

Just
Range("E1:E100").Value = "=D5 / 100000"

"Mike" wrote:

If I am try to put an equation in a cell how do I reference the cell


Range("E1:E100").Value = "=D<row / 100000"

Obviously this doesn't work but what would be the correct syntax to do
something like this. I don't want to do a loop.


Thanks
Mike


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
Range Calculations jzimm Excel Discussion (Misc queries) 2 March 10th 06 01:44 PM
Named Range Calculations Peter Bernadyne Excel Discussion (Misc queries) 2 March 9th 06 03:39 PM
Need formula help setting a range for calculations Sharona77 Excel Worksheet Functions 6 February 14th 06 12:42 AM
Any way to get calculations over a range of two sheets? foxspirit Excel Worksheet Functions 0 February 7th 06 09:12 PM
Auto cell range calculations arunsharm82[_2_] Excel Programming 2 January 23rd 04 12:21 PM


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