Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Need help on this strange event

Hi All

This is a snippet of code I use to move values from one sheet to another.

Sheets("RunSheet P1").Select

Columns("Y").Find("", Cells(Rows.Count, "Y"), xlValues, _
xlWhole, , xlNext).Select

With Selection
.Value = Sheets("Run Setup").Range("D2").Value
End With

Columns("CD").Find("", Cells(Rows.Count, "CD"), xlValues, _
xlWhole, , xlNext).Select

With Selection
.Value = Sheets("Run Setup").Range("A2").Value
End With

The frustrating thing is that when I run the code a 2nd time, it will insert
the value in one of the cells, and not the other..

These Cells are not special, down & out blank cells with no formula,
references, conditioning, zip.

I even tried reverting back to copy/paste specialvalues, but it hung on the
paste special.

For some reason this:

Columns("CD").Find("", Cells(Rows.Count, "CD"), xlValues, _
xlWhole, , xlNext).Select

Doesn't like the Paste Special statement to follow it....

Any thoughts welcome.

TIA
Mick.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Need help on this strange event

And apologies for the multi-posting..

I forgot I created this one....

Scold....Ouch.....

Disregard this thread....

Sorry....

Mick..


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
apply cell change event to single column - WorksheetChange Event [email protected] Excel Programming 6 May 4th 08 02:28 AM
Worksheet_Change Event Strange Behaviour Sugih Excel Programming 2 February 28th 08 08:47 AM
Need Help: Strange, Strange Behavior ( Not Me. My Model! ) SteveM Excel Programming 2 December 16th 07 06:02 PM
Click event on menu item is lost after first time firing of the event [email protected] Excel Programming 1 April 2nd 07 01:25 PM
How to trap delete row event and hide column event? Alan Excel Programming 3 April 26th 05 04:25 PM


All times are GMT +1. The time now is 12:32 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"