Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-27-2011, 02:31 PM
Novice Novice is offline Fill column with other columns info Windows 7 64bit Fill column with other columns info Office 2010 32bit
Novice
Fill column with other columns info
 
Join Date: Jul 2011
Posts: 6
Novice is on a distinguished road
Default Fill column with other columns info

Hi
i came across this macro, since its similar to what i want

Sub Encolumnar()
Dim C As Range
[p]. Delete
For Each C In Selection


If IsEmpty(C. Offset(1)) Then
C. Copy Range("p" & Cells.Rows.Count). End(xlUp). Offset(1)
Else
Range(C, C. End(xlDown)). Copy Range("p" & Cells.Rows.Count). End(xlUp). Offset(1)
End If
Next C
End Sub

is there a way to change this so that the selection is made in a column instead of a row, plus other columns on others sheets? :S

The main objective was to do something like this without macros, but if it cant then i'll use this macro.

The main idea here is in the excel im adding
Attached Files
File Type: xlsx example.xlsx (10.3 KB, 16 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create two columns based on a certain criterior from the original two column? where_pc Excel 3 06-13-2011 10:39 AM
Fill column with other columns info Need to search a column for a macth and return a result from a third column pdfaust Excel 2 02-03-2011 03:02 PM
Fill column with other columns info How to expand one column into two columns? Jamal NUMAN Excel 1 01-12-2011 07:59 PM
Fill column with other columns info How to compare 2 columns with other two columns in EXECL 2007? Learner7 Excel 5 06-12-2010 09:54 AM
Fill column with other columns info Graphing in Excel - one plot many columns/pick one column jerryjaysr Excel 4 06-29-2006 07:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft