Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2011, 08:38 AM
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

omg you are the best (Y), somehow now im being asked for more <.< i'll try to comprehend what u did to adapt it to what i need now.

The problem now is that theres a blank space between the names in the columns. i used ur macro but it grabs also the blanks spaces.
Reply With Quote
  #2  
Old 07-28-2011, 09:25 AM
Catalin.B Catalin.B is offline Fill column with other columns info Windows Vista Fill column with other columns info Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, România
Posts: 386
Catalin.B is on a distinguished road
Default

After the line : Worksheets("Hoja5").Activate


insert this:


Dim i As Integer
For i = 2 To 100
If Sheets("Hoja5").Range("A" & i).Value = 0 Then
'delete empty rows
Rows(i & ":" & i).EntireRow.Delete

End If
Next i


If you replace "Delete" from above to "Hidden = True", it will just hide empty rows, instead of deleting them
Attached Files
File Type: xlsm example.xlsm (20.7 KB, 12 views)
Reply With Quote
Reply



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 05:06 AM.


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