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: 1
Default Macro to create worksheets base on name

I have 2 workbooks.
Name:Database workbook and Employee workbook.

FOr the Database workbook, I got 30 worksheets in it which I define th
range, and I give the worksheet name for each of the 30 employees.

when I open the Employee worksheet, the particular data for eac
employees from the Database workbook will be copy over to employe
workbook. Employee will make their entries there, then save it. Th
data that save will then copy and paste to the particular worksheets i
the Database workbook.

This work great for me! Anyway, my boss ask me to do it more easily s
that they can add/ delete employees in the Database workbook easier.

How can I do such that, when I key in employee name, and click on "ADD
button in userform, it will create a new worksheet which th
worksheet's name is the Employee name? After create the worksheet,
would like the macro to define the range for the worksheets(So that
can copy & Paste using this range).

How to do this using code?

Hoping for someone to shed the light for me.

THanks in advance

--
Message posted from http://www.ExcelForum.com

 
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
how do i create a macro to rename worksheets in excel? Waki Excel Discussion (Misc queries) 6 January 28th 10 04:06 PM
Macro to Create Worksheets Based on Cell Values Lilbit Excel Worksheet Functions 3 March 24th 08 05:39 PM
I need to create a data base Kernow1962 Excel Discussion (Misc queries) 2 August 6th 06 05:04 PM
CREATE MACRO TO COPY MULTIPLE WORKSHEETS Bewilderd jim Excel Discussion (Misc queries) 5 March 3rd 05 10:00 PM
Create Data base tetors_2002[_3_] Excel Programming 1 October 2nd 03 04:20 PM


All times are GMT +1. The time now is 11:51 PM.

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"