command button macro

  1. csababenyi

    Insert data with VBA command button into password protected sheet

    Hi Guys, I have an excel speradsheet with 22 coulunms and about 1000 rows and growing with lots of macros in it. There is an ADD command button on the main sheet that opens up a VBA scripted table that have drop downs to select data to add to the next row with another ADD DATA button in it. This...
  2. B

    Triggering a worksheet_change with a command button?

    Can worksheet_change macros only be set up to automatically run in response to data changes? If there anyway to set it to respond to a command button?
  3. A

    Macro for command buttons and results?

    Hi, I need a macro genius's help please! I am trying to put together an attendance register for a club I run and we use 5 different types of payment method (just to be difficult). I want to have 5 command buttons that relate to the 5 methods that when pressed for each student one by one will...
  4. J

    copying and pasting data from sheet 1 to sheet 2 in VBA

    Alright I've figured out a lot of ways to copy and paste data, but none work how I want them to. If I have set cells and ranges from sheet 1: B3,B10,B17,B24,B31,B38,B45(Cells) C2:H7,C9:H14,C16:H21:C23:H28...
  5. S

    Excel 2011 for Mac - command to create new form and name sheet according to date entered

    I'm trying to create a very user friendly form for a team of mental health workers, who are not tech savvy. Essentially, it's a progress note that is filled out after each session. I'd like for the template to carry over to the next sheet and be named the date of session that the therapist...
  6. V

    Copying Cell(s) from Source Workbook to Separate Closed Target Workbook in Background with VBA

    Hello, I am very new to VBA and desperately need help! I am trying to set up a master (source) Excel workbook that pulls from/pushes data in approximately 12 other workbooks. Whoever is using the source workbook needs to be able to: 1. Write a date into two specific cells (E10 and G10) in a...
  7. L

    Command button to run external macro

    I'm trying to create a command button within a worksheet that runs a macro from a different addin. The buttin is created as part of a VBA macro. I can get it to work with macros that exist in the same addin to the one creating the buttion: ActiveSheet.Buttons.Add(320, 380, 50, 40).Select...
  8. W

    Command Button Query

    I have around 15 different sheets in one of my spreadsheets, each running a different macro. I want to have a main sheet with several command buttons (active x) that will run the associated macro on the relevant sheet. i.e. the gross profit button when pressed on the main page will run the...
  9. B

    A command button to import from closed workbook

    Hello. I am attempting to create an analysis workbook with three tabs. The first would be a variance table using formulas to compute differences between the other two tabs (which would be "Old Data" and "New Data"). My question is, how would I create a command button on "Old Data" to import...
  10. CrashMatRob

    Command Button to run Macro

    Hi, I have a macro named "RemoveEmployee" which works the way I want. What I would like to do is, create a user form with a command button which when clicked will run the above macro, 1 button per employee, is this possible? A better solution would be, on a user form select an employee from...
  11. S

    Excel Timer Macro overwriting data in active worksheets

    <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--> I am running a program that when a ‘Start’ command button is clicked, a timer begins counting in seconds and displays the value in cell B3 until a ‘Stop’ command button is...
  12. L

    Help with using command buttons

    Hi, I have placed two command buttons in "sheet1" each of which will insert some text into a cell in Sheet2. The problem is that when i click two command buttons one after the other, I don't see two sentences in cell (Sheet2) Following is the code that i have assigned to "commandbutton1" Sub...
  13. A

    Refresh the data based on a Command Button click to Auto Filter, Copy from a File/Worksheet stored at a particular location & Replace while Pasting in

    Hi All, Request your help in defining a macro for a command button which helps me to Autofilter and Copy from a SourceData file (w/o opening) which is stored at a location in d-drive and while pasting into another sheet (master file will have the sheets which are already created for the...
  14. A

    Command Button Macro to Auto Filter, Copy from a File/Worksheet stored at a particular location & Replace while Pasting into another worksheet upon re

    Hi All, Request your help in defining a macro for a command button which helps me to Autofilter and Copy from a SourceData file (w/o opening) which is stored at a location in d-drive and while pasting into another sheet (master file will have the sheets which are already created for the...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top