ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   move two columns to the right and then find next cell above that i (https://www.excelbanter.com/excel-programming/374373-move-two-columns-right-then-find-next-cell-above-i.html)

sverre

move two columns to the right and then find next cell above that i
 
nonemtpy and move two columns two the right and then paste data?


How do I do that?

br
Sverre

JNW

move two columns to the right and then find next cell above that i
 
Let's say your non empty is A5
Range("A5").offset(0,2).value = range("A5").value

if you need to do this for a range then
For each cell in Range("A5:A50")
cell.offset(0,2).value = cell.value
next cell


--
JNW


"sverre" wrote:

nonemtpy and move two columns two the right and then paste data?


How do I do that?

br
Sverre



All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com