Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Help with Code

I looking for a routine that from a given staring point will copy the
selected cell and 9 cells to the right and then PasteSpecial the Values.
Then go down 10 rows and repeat the routine until there is no data/formulas.

Thank-You
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Help with Code

Do
With Activecell.Resize(,9)
.Value = .Value
End With
Activecell.Offset(10,0).Select
Loop Until Activecell.Value = ""

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ronbo" wrote in message
...
I looking for a routine that from a given staring point will copy the
selected cell and 9 cells to the right and then PasteSpecial the Values.
Then go down 10 rows and repeat the routine until there is no

data/formulas.

Thank-You



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Help with Code

Perfect. As always, thanks a lot for your time and help. I am even more
grateful for your's and the other gurus help after reading a message
recently, that I believe you wrote, stating that none of you work for MS but
do this on your own. With the knowledge and time put into this by the gurus,
a assumed you were getting paid by MS. You should be. Again, thanks.

"Bob Phillips" wrote:

Do
With Activecell.Resize(,9)
.Value = .Value
End With
Activecell.Offset(10,0).Select
Loop Until Activecell.Value = ""

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ronbo" wrote in message
...
I looking for a routine that from a given staring point will copy the
selected cell and 9 cells to the right and then PasteSpecial the Values.
Then go down 10 rows and repeat the routine until there is no

data/formulas.

Thank-You




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Help with Code

We're paid with love <vbg

Thanks for the thanks, that is what makes it worthwhile.

Bob

"Ronbo" wrote in message
...
Perfect. As always, thanks a lot for your time and help. I am even more
grateful for your's and the other gurus help after reading a message
recently, that I believe you wrote, stating that none of you work for MS

but
do this on your own. With the knowledge and time put into this by the

gurus,
a assumed you were getting paid by MS. You should be. Again, thanks.

"Bob Phillips" wrote:

Do
With Activecell.Resize(,9)
.Value = .Value
End With
Activecell.Offset(10,0).Select
Loop Until Activecell.Value = ""

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ronbo" wrote in message
...
I looking for a routine that from a given staring point will copy the
selected cell and 9 cells to the right and then PasteSpecial the

Values.
Then go down 10 rows and repeat the routine until there is no

data/formulas.

Thank-You






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
split post code (zip code) out of cell that includes full address Concord Excel Discussion (Misc queries) 4 October 15th 09 06:59 PM
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
run code on opening workbook and apply code to certain sheets Jane Excel Programming 7 August 8th 05 09:15 AM
stubborn Excel crash when editing code with code, one solution Brian Murphy Excel Programming 0 February 20th 05 05:56 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM


All times are GMT +1. The time now is 02:52 AM.

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"