#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default copying cells

Hi there, I've created a macro at the top of a page that inserts two rows and
copys some text from above, to create another 'entry' but ive also done this
further down but after ive run the top one it then puts the bottom one out of
sync, is there any way of making a macro relative to a certain cell or
relative to the button that runs it? or any solution will do... i just need
to be able to replicate bits of text to create room for more entries at
different stage down the page, help much appreciated¬!
thanks
Will
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default copying cells

Post your macro and perhaps someone can help.

Vaya con Dios,
Chuck, CABGx3



"bilbo+" wrote:

Hi there, I've created a macro at the top of a page that inserts two rows and
copys some text from above, to create another 'entry' but ive also done this
further down but after ive run the top one it then puts the bottom one out of
sync, is there any way of making a macro relative to a certain cell or
relative to the button that runs it? or any solution will do... i just need
to be able to replicate bits of text to create room for more entries at
different stage down the page, help much appreciated¬!
thanks
Will

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default copying cells

The macro is
Sub addoxy2()
'
' addoxy2 Macro
' Macro recorded 12/07/2007 by
'

'
Rows("44:44").Select
Selection.Insert Shift:=xlDown
Selection.Insert Shift:=xlDown
Range("C42:J42").Select
Selection.Copy Destination:=Range("C44:J44")
Range("E44").Select
End Sub

hope that helps

"CLR" wrote:

Post your macro and perhaps someone can help.

Vaya con Dios,
Chuck, CABGx3



"bilbo+" wrote:

Hi there, I've created a macro at the top of a page that inserts two rows and
copys some text from above, to create another 'entry' but ive also done this
further down but after ive run the top one it then puts the bottom one out of
sync, is there any way of making a macro relative to a certain cell or
relative to the button that runs it? or any solution will do... i just need
to be able to replicate bits of text to create room for more entries at
different stage down the page, help much appreciated¬!
thanks
Will

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default copying cells

Maybe this will work, or be something you can modify..........

Sub addoxy()
Selection.EntireRow.Insert
Selection.EntireRow.Insert
Range("$C$42:$J$42").Copy
ActiveSheet.Paste
ActiveCell.Select
Selection.Offset(0, 2).Select
End Sub

Vaya con Dios,
Chuck, CABGx3



"bilbo+" wrote:

The macro is
Sub addoxy2()
'
' addoxy2 Macro
' Macro recorded 12/07/2007 by
'

'
Rows("44:44").Select
Selection.Insert Shift:=xlDown
Selection.Insert Shift:=xlDown
Range("C42:J42").Select
Selection.Copy Destination:=Range("C44:J44")
Range("E44").Select
End Sub

hope that helps

"CLR" wrote:

Post your macro and perhaps someone can help.

Vaya con Dios,
Chuck, CABGx3



"bilbo+" wrote:

Hi there, I've created a macro at the top of a page that inserts two rows and
copys some text from above, to create another 'entry' but ive also done this
further down but after ive run the top one it then puts the bottom one out of
sync, is there any way of making a macro relative to a certain cell or
relative to the button that runs it? or any solution will do... i just need
to be able to replicate bits of text to create room for more entries at
different stage down the page, help much appreciated¬!
thanks
Will

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
Copying Cells lee Excel Discussion (Misc queries) 1 September 28th 06 10:11 PM
Copying cells phil2006 Excel Discussion (Misc queries) 5 June 7th 06 10:50 AM
Copying Cells LauraC Excel Worksheet Functions 2 March 29th 06 03:38 PM
How do I skip blank cells when copying over a range of cells? tawells Excel Discussion (Misc queries) 2 June 7th 05 09:36 PM
Excel should allow cloaking of certain cells when copying cells b. LDI Woody Excel Worksheet Functions 1 March 11th 05 04:55 PM


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