That's what I get for NOT testing
Sheets("start").Range("h6:i6").Copy Range("f" & ActiveCell.Row)
Sheets("start").Range("h6:l6").Copy cells(activecell.row,”f”)
end sub
Don Guillett
SalesAid Software
dguille...@gmail.com
-----Original Message-----
From: Eddie
Sent: Thursday, November 03, 2011 11:46 AM
To: MS EXCEL AND VBA MACROS
Subject: Re: $$Excel-Macros$$ Copy and Paste Macro (into active sheet)
This looks good but gettin a run time error 1004!
On Nov 3, 4:36 pm, "dguillett1" <dguille...@gmail.com> wrote:
Sub cc()
Sheets("start").Range("h6:l6").Copy cells(activecell.row,”f”)
end sub
Don Guillett
SalesAid Software
dguille...@gmail.com
From: Sam Mathai Chacko
Sent: Thursday, November 03, 2011 11:18 AM
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Copy and Paste Macro (into active sheet)
Sub PasteStat()
Sheets("start").Range("h6:l6").Copy Sheets("Sheet1").Range("f" &
Selection.Row)
End Sub
Regards,
Sam Mathai Chacko
On Thu, Nov 3, 2011 at 9:25 PM, Eddie <eddiejame...@googlemail.com> wrote:
Sub PasteStat()
Sheets("start").Select
Range("h6:l6").Select
Selection.Copy
Sheets("Sheet1").Select
Range("f" & Selection.Row).Select
ActiveSheet.Paste
End Sub
Hi,
How do I edit the above so that the selected sheet (in this case
"Sheet1") is the active sheet. I.e. if i was working on Sheet30 the
cells would be pasted into this sheet rather than Sheet1.
Thanks in advance.
Ed.
--
FORUM RULES (925+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com
--
Sam Mathai Chacko
--
FORUM RULES (925+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com
--
FORUM RULES (925+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com
--
FORUM RULES (925+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please Help,
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com