Anthony's VBA Forum Index Anthony's VBA Forum
Where the knowledge is shared
Menu
 Anthony's VBA Forum IndexHome Page
 Anthony's VBA Forum IndexForum Index
FAQFAQ
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesMessages
Log inLogin/Out

Quick Search

Advanced Search

Links
Consulting
Products

Who's Online
[ Administrator ]
[ Moderator ]


copying info from different sheets into a new sheet

 
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA
View previous topic :: View next topic  
Author Message
blaq78



Joined: 31 Oct 2008
Posts: 2
Location: Canada

PostPosted: Fri Oct 31, 2008 11:12 am    Post subject: copying info from different sheets into a new sheet Reply with quote

Hi,

I'm new at VBA coding and I really need help with this. I'm trying to write a code that can copy info from different worksheets in the same workbook and put them in a new named sheet.

I hope someone can help me on this right away.

Thanks.
Back to top
View user's profile Send private message
mohan.ankur
Moderator
Moderator


Joined: 02 Aug 2006
Posts: 52

PostPosted: Mon Nov 17, 2008 2:53 pm    Post subject: Reply with quote

Try doing the work you want the code to perform while recording the VBA code.

Looking at the VBA code (Alt + F11) you should have some idea to customize the code.

Some of the code snippets that you may need may be...

Workbooks.add (to create a new workbook)
Activesheet.Paste (To paste a range already copied)
selection.copy
or Range("a1:b5").copy (To Copy from A1 to B5)

etc...
_________________
http://www.exceldepot.com
http://www.xlmacros.com
http://www.learnexcel.org
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group