![]() |
|
#1
|
|||
|
|||
![]()
if cell 1 contains
aero refer to ='Page 1'!$A$1 and cell 2 conains plane refer to ='Page 1'!$B$1 I want to get ='Page 1'!$B$1 in this cell are "aeroplane" avoiding taking right side column and concatenate |
#2
|
|||
|
|||
![]()
i have two worksheets both
|
#3
|
|||
|
|||
![]()
Sub Test()
Dim rngToChange As Range Dim iMultiplier As Integer Dim iDivisor As Integer With Sheets("Sheet1") iMultiplier = .Range("A1").Value iDivisor = .Range("A2").Value .Range("A2").Value = iMultiplier / iDivisor Set rngToChange = .Range("B1:B" & .Cells(Rows.Count, "B").End(xlUp).Row) .Range("A2").Copy rngToChange.PasteSpecial _ Paste:=xlAll, Operation:=xlMultiply, SkipBlanks:=False, Transpose:=False Application.CutCopyMode = False End With End Sub it will help if "/" is replace concatenate any other no vba just do this plz Last edited by gsrikanth; 01-10-2012 at 04:54 AM. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I delete the content of a cell in column if the cell value is more than 1000? | Learner7 | Excel | 2 | 06-27-2011 05:44 AM |
Move data from 1 cell to another cell | Catalin.B | Excel | 1 | 06-25-2011 12:51 PM |
How can I fill cell color starting from Cell D5 using Conditional formatting instead | Learner7 | Excel | 0 | 07-08-2010 05:50 AM |
How can I make a cell color RED under the Today's date cell? | Learner7 | Excel | 2 | 07-08-2010 12:52 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |