LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional copy & paste

Hello,

I'm new to both the newsgroup and VBA programming. I have a simple problem that I can't seem to work past and I am looking for some help. I have an Excel spreadsheet with data in adjacent columns. The number of rows is variable. I would like to copy the data from the B column to the A column if the data in B is zero.

45 0
0 23 (copy this B cell to the adjacent a cell)
12 0
10 0

I'm trying to use an If Then statement but I can't seem to copy from one cell and paste to another in the same statement.

Thanks
RonD


 
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
Copy and Paste Conditional Formatting igbert Excel Discussion (Misc queries) 3 November 30th 09 05:25 PM
Copy Paste conditional formatting Raz Excel Discussion (Misc queries) 2 October 20th 08 06:32 PM
Copy/Paste Conditional Format Paul Excel Discussion (Misc queries) 2 June 20th 07 10:13 AM
Copy paste Conditional Formatting Bud Hughes Excel Discussion (Misc queries) 3 October 1st 05 11:28 PM
Copy Paste Conditional Formatting Bud Hughes Excel Discussion (Misc queries) 6 October 1st 05 02:33 PM


All times are GMT +1. The time now is 05:36 PM.

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

About Us

"It's about Microsoft Excel"