copy value from cell add that value to another cell no ranges just down two rows up one and add the value to the cell no looping

jvillasenor19687

New Member
Joined
Dec 8, 2020
Messages
6
Office Version
  1. 365
  2. 2016
  3. 2010
  4. 2007
Platform
  1. Windows
  2. Mobile
  3. Web
What i have so far


VBA Code:
Sub ADD_TEXT_T0_TOP_TEXT()

ActiveCell.Offset(2, 0).Select
ActiveCell.Offset(-1, 0).Select

'SendKeys "{F2}", True
'SendKeys "{ENTER}", True
'Selection.Copy
'ActiveCell.Offset(-1, 0).Select
'ActiveCell.Value = ActiveCell.Value & " " & Selection


End Sub

starting point00:06:20.930 --> 00:06:26.442
destination cellTEST
copy this to destination cell at the end2 TEST 2
 
Last edited by a moderator:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
It is unclear what you are asking to do. Please restate.
Oh thank you for your time i figured it out and i have it working great. This is what i came up with works for me i do thank you for your time on this.

VBA Code:
Sub COPY_PASTE_FORMAT_FROM_TOP_CELLS()


'THIS WILL MOVE THE CURSOR AND SELECT THE CELL
'THE COPY PASTE FORMAT IS FOR ONLY TWO CELLS SELECTED

'MOVES CURSOR UP ONE AND SELECTS CELL
ActiveCell.Offset(1, 0).Select
'SELECTS THE RANGE OF ACTIVE CELL AND ONE CELL TO THE RIGHT
'COPY S SELECTED RANGE
Selection.Cut
ActiveCell.Offset(-1, 1).Select
ActiveSheet.Paste
ActiveCell.Offset(0, -1).Select

'THIS WILL MOVE THE CURSOR AND SELECT THE CELL
'THE COPY PASTE FORMAT IS FOR ONLY TWO CELLS SELECTED

'MOVES CURSOR UP ONE AND SELECTS CELL
ActiveCell.Offset(-1, 0).Select
'SELECTS THE RANGE OF ACTIVE CELL AND ONE CELL TO THE RIGHT
Range(ActiveCell, ActiveCell.Offset(0, 1)).Select
'COPY S SELECTED RANGE
Selection.Copy
'MOVES DOWN ONE CELL AND SELECTS
ActiveCell.Offset(1, 0).Select
'SELECTS THE RANGE OF ACTIVE CELL AND ONE CELL TO THE RIGHT
Range(ActiveCell, ActiveCell.Offset(0, 1)).Select
'PASTE COPY OF FORMAT OF UPPER CELL TO THE NEW COPIED DATA
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False

Call move_down

Call DELETE_SELECTED_ROW
'Call DELETE_SELECTED_ROW

End Sub
 
Last edited by a moderator:
Upvote 0
Solution

Forum statistics

Threads
1,214,522
Messages
6,120,019
Members
448,938
Latest member
Aaliya13

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top