LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy worksheet values and formats into another workbook

I am very new to VBA programming.
I have a worksheet (called Form99) that is populated by data entries
placed on another worksheet (called Data Entry), both in the same workbook.
Data is entered throughout a month. At the end of the month the Form99 is
printed. After the hard copy is secured a button is clicked which clears all
the data from the data entry worksheet (macro), this in turn naturally clears
the values that had been placed in the Form99
What I would like to do is capture the values and formats of the Form99
worksheet and copy them into a new worksheet in a different workbook. For
instance, copy the January Form99 data into a new worksheet in a workbook
called Achieve. At the end of February copy the February Form99 data into
a new worksheet in that same Achieve workbook. At the end of the year I
would have an achieve workbook with a single worksheet for every month of the
year.
I have been successful doing this using a macro which is triggered by a
button in my Data Entry worksheet. The problem I have is that my worksheets
are protected and I cant execute the macro past the Enter Password window
that pops up. I can enter the password but then I have to manually set it
again. I dont want to give out the password. Is there another way to
accomplish my goal? Is there a way to get over the password problem?
Thank you in advance for your help.

--
Rick
 
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
copy & paste values+formats from excel to word rockhammer Excel Discussion (Misc queries) 2 May 17th 09 02:29 AM
Copy values of worksheet a to workbook b Nev Excel Discussion (Misc queries) 5 April 8th 09 09:35 PM
Using VB Copy Entire Row but formulas and formats only no values Kenny Excel Discussion (Misc queries) 5 July 27th 08 11:12 PM
how to copy only values and formats of worksheets to new workbook rvd Excel Worksheet Functions 3 January 31st 07 12:43 PM
copy worksheet (keeping formats) Ken New Users to Excel 3 February 16th 05 04:37 PM


All times are GMT +1. The time now is 07:12 AM.

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"