LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Paste value from another workbook and multiply by constant

Tom,

Again thanks for your reply....

The macro isn't quite doing what I expected, the range selected in
column E per the following code

Determine the extent of the data in column E
With Workbooks("Part List.xls").Worksheets(1)
set rng = .Range(.Range("E2"), _
.Range("E65536").End(xlup))
End With

It is selecting the entire column, this data is then pasted into the
Test.xls workbook, what I really need is for the macro to loop through
each row in Part List.xls. For example, starting in E2 in the Part
List.xls the value is placed into B1 on Test1.xls, then the value in G2
in Part list.xls is placed into cell B2 in Test1.xls, once this is done
a calculated value from Test1.xls cell B7 is placed into the Part
List.xls column K on the same row the original data came from, then the
macro should go to the next row in Part List.xls column E and continue
the same process until all records in column E have been processed. The
values pasted into Test1.xls cells B1 and B2 will be multiplied by the
constants diameter and metric respectively. Sorry fro any confusion.

 
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
HOW DO I MULTIPLY MANY CELLS BY A CONSTANT CELL ? FROGGYDOLLY Excel Discussion (Misc queries) 13 April 27th 23 11:48 AM
Multiply a co;omn by a constant Q Excel Worksheet Functions 2 February 20th 10 09:54 PM
is it possible to multiply whole of excel table by some constant vijaya reddy Excel Discussion (Misc queries) 2 December 4th 07 12:05 PM
Multiply by a constant flotowntiger Excel Discussion (Misc queries) 3 December 6th 04 10:42 PM
Multiply a Range by a Constant Jim Thomlinson[_3_] Excel Programming 0 November 22nd 04 08:23 PM


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