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

hello,
Can you help?
I would like to write this as par of a macro.
Range("a1:a3")=2 * Range("b1:b3")
thank you

--
caroline
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default multiplying range

for i = 1 to 3
cells(i,"a").Value = Cells(i,"b").Value * 2
Next

--
Regards,
Tom Ogilvy


"caroline" wrote:

hello,
Can you help?
I would like to write this as par of a macro.
Range("a1:a3")=2 * Range("b1:b3")
thank you

--
caroline

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

THANKS TOM
--
caroline


"Tom Ogilvy" wrote:

for i = 1 to 3
cells(i,"a").Value = Cells(i,"b").Value * 2
Next

--
Regards,
Tom Ogilvy


"caroline" wrote:

hello,
Can you help?
I would like to write this as par of a macro.
Range("a1:a3")=2 * Range("b1:b3")
thank you

--
caroline

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
multiplying wineforyou Excel Worksheet Functions 5 November 15th 09 05:35 PM
multiplying rows and passing formula throughout the col range Sistereinstein Excel Discussion (Misc queries) 3 December 31st 07 08:31 PM
Multiplying Dave Excel Worksheet Functions 1 November 28th 07 09:27 AM
Multiplying specific data within a range to get column totals MsChief Excel Worksheet Functions 2 March 30th 07 04:44 AM
Multiplying A Range DanielWalters6 Excel Worksheet Functions 7 November 21st 06 12:03 PM


All times are GMT +1. The time now is 10:36 AM.

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"