Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Help with macro to copy data to a designated worksheet

Hello,
I have a workbook set up with a data entry sheet "Hours", and then twelve
worksheets named for each month of the year.

When the data is entered, it starts with the date (ex. 10/14/08) then there
are a couple of rows of data with the entry. Is it possible to set up a
macro that will evaluate the date from the input sheet "Hours" and then copy
that data to the sheet with the corresponding date (ex. October)?

Thanks for the help,
Bruce
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help with macro to copy data to a designated worksheet

Personally, I'd try to keep all the data on one worksheet. And then just filter
or sort that sheet.

But maybe you could add another column with a formula like:
=text(a2,"mmmm")
(to get the month name)

And use one of these techniques:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

brumanchu wrote:

Hello,
I have a workbook set up with a data entry sheet "Hours", and then twelve
worksheets named for each month of the year.

When the data is entered, it starts with the date (ex. 10/14/08) then there
are a couple of rows of data with the entry. Is it possible to set up a
macro that will evaluate the date from the input sheet "Hours" and then copy
that data to the sheet with the corresponding date (ex. October)?

Thanks for the help,
Bruce


--

Dave Peterson
Reply
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
Macro to Copy Pivot Table Data to Another Worksheet in Same Workbo jeannie v Excel Worksheet Functions 8 March 11th 14 09:15 AM
Import Data in Designated Cells in Excel 2003 Iris Excel Discussion (Misc queries) 1 August 26th 08 09:28 PM
macro to save as a data input by user file name from a designated Brian Excel Discussion (Misc queries) 2 November 20th 07 04:00 AM
Excel 2002: How to tranpose data to designated cells ? Mr. Low Excel Discussion (Misc queries) 2 July 18th 07 05:44 PM
Text that includes data from a designated cell? Blades Excel Discussion (Misc queries) 2 June 27th 06 01:07 PM


All times are GMT +1. The time now is 04:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"