Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Paste by rows and blank cell problems

Excel pastes in the same orientation as when you copied the cells. If you
want to change that, then do edit=Paste Special and select Transpose.
Turn on the macro recorder while you do it manually to get code if that is
what you need.

sounds like you have a formula in the cells that returned "" such as

=if(true,"","")

if you copy that and do a paste special values, then cell appears empty, but
isn't.

You can do

with ActiveCell
.value = .value
end with

--
Regards,
Tom Ogilvy


"mr starface"
wrote in message
...

Hello, new here and after some Excel/VB help:)

I need to past special some data by rows and by default excel pastes by
coloumns. Anyone know the command to paste by rows? (or even better the
code for VB as its needed for a macro)

Also I have a number of cells that have no data or spaces in them but
are not recognised by excel as being blank for some reason. If I
manually go into them one by one and press F2 then return they then
become blank though Anyone know some excel/VB code I can use to get
them recognised as blanks. They arent all in one place unfortunately
but all over the shop!

Thanks for any help people!


--
mr starface
------------------------------------------------------------------------
mr starface's Profile:

http://www.excelforum.com/member.php...o&userid=30520
View this thread: http://www.excelforum.com/showthread...hreadid=501731



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paste with Blank Rows? trishlee Excel Discussion (Misc queries) 3 August 17th 09 11:20 PM
paste values in blank cell Mayte Excel Worksheet Functions 7 June 2nd 08 10:57 PM
How paste Rows with Blank cells into New sheet in the same Workboo Coomo1 Excel Discussion (Misc queries) 1 November 17th 06 01:57 PM
paste to next blank cell/row Yvette Excel Worksheet Functions 1 June 9th 06 03:34 PM
Copy rows untill blank row then paste into new sheet Chris Salcedo Excel Programming 2 October 7th 05 07:29 PM


All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"