+ Reply to Thread
Results 1 to 2 of 2

How can I automate copying blank worksheet?

  1. #1
    Registered User
    Join Date
    06-01-2005
    Posts
    2

    How can I automate copying blank worksheet?

    Hi

    I have an Excel workbook, with several worksheets. A master worksheet is used every week to complete sales figures. Problem is that end user doesn't know how to copy master worksheet and asks me to do for him.

    Is it possible to create a button on master worksheet to copy itself and move to the end of existing sheets?

  2. #2
    Registered User
    Join Date
    06-01-2005
    Posts
    19

    Re

    Yes, you can record a macro to copy the sheet and add a button with the macro code attached.

    First try: Tool=>Macro=>Record Macro =>(do whatever u need to record and name it, e.g. CopySheet)=>Stop Recording

    Second: View=>Tool Bar=>Control Panel=>(add button)

    Third: Right click the added button, it will bring you to the source code in VBA editor. and then find the souce code of macro "CopySheet", copy the code to the button's 'sub' block.

    Others: you can also edit the button's caption, e.g. 'Copy the Sheet' to inform user. I am sure you know how to do that.

    hope that helps
    Fendic

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1