PC Review


Reply
Thread Tools Rate Thread

Copy paste one excel workbook into another workbook

 
 
Crazyhorse
Guest
Posts: n/a
 
      8th Dec 2008
I have 96 different spreadsheets. I would like to make this one master
spreadsheet. Make a version control so when the user opens the spreadsheet it
will connect to my access database and it will tell the user they need the
new version. That part is all set.

I need help on coping the information from the old spreadsheet into the new
spreadsheet. What is the best way of doing this? I have many built in
functions to the menu bar as well. Is there a copy all excel spreadsheet and
past all into another spreadsheet.

Thanks in advance

 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      9th Dec 2008
the best way of copying a worksheet is to use the tab at the bottom of the
worksheets (i.e. Sheet1). Right click the tab and select Move or Copy. Then
select the "to book" (there is a new book option). Check the box that says
COPY and select the "before sheet:".

"Crazyhorse" wrote:

> I have 96 different spreadsheets. I would like to make this one master
> spreadsheet. Make a version control so when the user opens the spreadsheet it
> will connect to my access database and it will tell the user they need the
> new version. That part is all set.
>
> I need help on coping the information from the old spreadsheet into the new
> spreadsheet. What is the best way of doing this? I have many built in
> functions to the menu bar as well. Is there a copy all excel spreadsheet and
> past all into another spreadsheet.
>
> Thanks in advance
>

 
Reply With Quote
 
Crazyhorse
Guest
Posts: n/a
 
      10th Dec 2008
Thank you but I was looking for some VB code. Do you know of any websites or
would you have any?

Thanks

"Joel" wrote:

> the best way of copying a worksheet is to use the tab at the bottom of the
> worksheets (i.e. Sheet1). Right click the tab and select Move or Copy. Then
> select the "to book" (there is a new book option). Check the box that says
> COPY and select the "before sheet:".
>
> "Crazyhorse" wrote:
>
> > I have 96 different spreadsheets. I would like to make this one master
> > spreadsheet. Make a version control so when the user opens the spreadsheet it
> > will connect to my access database and it will tell the user they need the
> > new version. That part is all set.
> >
> > I need help on coping the information from the old spreadsheet into the new
> > spreadsheet. What is the best way of doing this? I have many built in
> > functions to the menu bar as well. Is there a copy all excel spreadsheet and
> > past all into another spreadsheet.
> >
> > Thanks in advance
> >

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      10th Dec 2008
Copying a worksheet in VBA is easy. If it is going into the same workbook
then use this

Sheets("Master").copy

Sheets("Sheet1").Copy after:=Sheets(Sheets.Count)
Set NewSht = ActiveSheet


for copying multipel sheets

for i = 1 to sheets.count
Sheets(i).Copy after:=Sheets(Sheets.Count)
Set NewSht = ActiveSheet

next i


"Crazyhorse" wrote:

> Thank you but I was looking for some VB code. Do you know of any websites or
> would you have any?
>
> Thanks
>
> "Joel" wrote:
>
> > the best way of copying a worksheet is to use the tab at the bottom of the
> > worksheets (i.e. Sheet1). Right click the tab and select Move or Copy. Then
> > select the "to book" (there is a new book option). Check the box that says
> > COPY and select the "before sheet:".
> >
> > "Crazyhorse" wrote:
> >
> > > I have 96 different spreadsheets. I would like to make this one master
> > > spreadsheet. Make a version control so when the user opens the spreadsheet it
> > > will connect to my access database and it will tell the user they need the
> > > new version. That part is all set.
> > >
> > > I need help on coping the information from the old spreadsheet into the new
> > > spreadsheet. What is the best way of doing this? I have many built in
> > > functions to the menu bar as well. Is there a copy all excel spreadsheet and
> > > past all into another spreadsheet.
> > >
> > > Thanks in advance
> > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy & Paste from One Workbook to a Macroed Template Workbook VickiMc Microsoft Excel Programming 1 21st Sep 2009 09:52 AM
Selecting data from 1 workbook to copy and paste to a 2nd workbook =?Utf-8?B?SmFja1NwYW0=?= Microsoft Excel Programming 2 20th Jul 2005 02:33 AM
Need a macro to copy a range in one workbook and paste into another workbook Paul Microsoft Excel Programming 8 1st Jul 2004 07:42 AM
Copy a range of cells in an unopened workbook and paste it to the current workbook topstar Microsoft Excel Programming 3 24th Jun 2004 12:50 PM
Lose data when copy and paste from workbook to workbook =?Utf-8?B?QWt3YWk=?= Microsoft Excel Misc 2 26th Feb 2004 12:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:11 AM.