Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2006

Tip: Looking for answers? Try searching our database.

copy cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Narkom - 20 Mar 2006 19:09 GMT
How do I copy the cells A9,B9,C9 and D9 to A16,B16,C16 and D16 when
press the key (F9) ? Afterwards I type new data in the cells A9 till D
and press again (F9), then I want that the stuff from A16 till D16 go t
A17 till D17 and A9 till D9  again to A16 till D16.
Sorry for my bad english and hope that anyone helps me.
Thank
Gary L Brown - 20 Mar 2006 22:56 GMT
Start out by assigning F9 to your macro.  Probably in the Workbook_Open
procedure.

Application.OnKey "{F9}", "MyMacro"

Then have a macro called 'MyMacro' or whatever that does this...

Range("A16").EntireRow.Insert
Range("A9:D9").Copy
Range("A16").PasteSpecial xlValues
Application.CutCopyMode = False
Range("A9").Select

Hope this helps,
Signature

Gary Brown
gary_brown@ge_NOSPAM.com
If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.

> How do I copy the cells A9,B9,C9 and D9 to A16,B16,C16 and D16 when I
> press the key (F9) ? Afterwards I type new data in the cells A9 till D9
> and press again (F9), then I want that the stuff from A16 till D16 go to
> A17 till D17 and A9 till D9  again to A16 till D16.
> Sorry for my bad english and hope that anyone helps me.
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.