Question

Excel VBA: Create a macro that copies the cells and pastes to C column. Add a...

Excel VBA: Create a macro that copies the cells and pastes to C column. Add a command button to start the procedure.

Homework Answers

Answer #1

Macro to copy the celland paste to column c:

Range("A1").Copy Range("C1")

===================================

To add a command button, please follow the below steps:

1). GoTo Developer tab

2). Press insert button

3). Select the Button Form Control from the menu.

4). Right click and hold the mouse then drag and release to create your button.

5). The Assign Macro window will pop up and you can select the VBA procedure you want to run from the button.

6). Press the OK button.

I hope I anwered your question.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
(EXCEL VBA)Create a new worksheet and name it as “Roster”.You have the class roster in the...
(EXCEL VBA)Create a new worksheet and name it as “Roster”.You have the class roster in the worksheet “Roster” and the full names of students are in column A, starting in Cell A3, with last name last and case insensitive (such as Ben ALT). Write a sub that counts the number of names in the list with last name ALT and then displays this count in an MsgBox that is titled “Number of ALTs” and has an Exclamation icon button. Note...
create an excel macro to combine at least 16 tables in the same workbook with the...
create an excel macro to combine at least 16 tables in the same workbook with the same column headings to form one master table. There are other worksheets in the workbook, but not all of the sheets will be copied to the master.
Hello Excel VBA experts, I got a macro recorded from Excel VBA that extract data from...
Hello Excel VBA experts, I got a macro recorded from Excel VBA that extract data from access file.mdb. How do i subsititue user prompt this string `C:\test.mdb` under CommandText = Array(). I would like to have a user prompt different file.mdb everytime. what is symbol ` mean in Excel VBA? please help, thank you Sub Macro1() ' ' Macro1 Macro ' '     ActiveWorkbook.Worksheets.Add     With ActiveSheet.ListObjects.Add(SourceType:=0, Source:=Array(Array( _         "ODBC;DSN=MS Access Database;DBQ=C:\test.mdb;DefaultDir=C:\;DriverId=25;FIL=MS Access;MaxB" _         ), Array("ufferSize=2048;PageTimeout=5;")), Destination:=Range("$A$1")). _...
Question (excel) 1. Add a worksheet to the file and call it Output. 2. In the...
Question (excel) 1. Add a worksheet to the file and call it Output. 2. In the Output sheet: a. enter first name in cell A1.     b. enter last name in cell B1. 3. Record a macro. Call your macro CIS308Exam3. Within your macro, do the following:      a. In cell C1, use a formula to concatenate A1 and B1 with a space in between     b. Stop recording. 4. Open your macro in Visual Basic edit mode. Copy your...
The proper way to write the sum formula to add cells A1 to B5 in Excel...
The proper way to write the sum formula to add cells A1 to B5 in Excel is =sum(A1B5) =sum(A1 to B5) @sum(A1..B5) =sum(A1:B5)
Use excel Add a column called “sale type” which describes how profitable the sale was. It...
Use excel Add a column called “sale type” which describes how profitable the sale was. It has to show one of the following values: •   Good, if either the sale quantity is larger than 12, or the product unit price is more than $15, or the total profit is more than $90 •   Bad, if the product price is less than $10 and the quantity is less than 5, or if the total sale value is less than $80 and...
If you want to add the current date to the column of "Date" in Table1, which...
If you want to add the current date to the column of "Date" in Table1, which of the following code is correct: A. Dim dr As New Row = Table1.NewRow dr("Date") = Nowadys.ToShortDateString B. Dim dr As DataRow = Table1.NewRow dr("Date") = Now.ToLongDateString C. Dim dr As DataRow = Table1.NewRow dr("Date") = Current.ToShortDateString D. Dim dr As DataRow = Table1.Row dr("Date") = Present.ToLongDateString What's the meaning of "1" in the following line of code: .Item("AvgBooks") = FormatNumber(.Item("Books") / .Item("Number"), 1)...
Coding in Python Add radio button options for filing status to the tax calculator program of...
Coding in Python Add radio button options for filing status to the tax calculator program of Project 1. The user selects one of these options to determine the tax rate. The Single option’s rate is 20%. The Married option is 15%. The Divorced option is 10%. The default option is Single. Be sure to use the field names provided in the comments in your starter code. ================== Project 1 code: # Initialize the constants TAX_RATE = 0.20 STANDARD_DEDUCTION = 10000.0...
Excel searches for an exact match of the first argument in the first column of the...
Excel searches for an exact match of the first argument in the first column of the data when the range in the VLOOKUP function is a. EXACT. b. TRUE. c. FALSE. d. NULL. The function of Trace Precedents and Trace Dependents is to a. highlight errors in copying and formula construction. b. investigate the cell calculations in great detail. c. ascertain how model parts are segregated. d. trace the range of cells included in the Watch Window box list.
UNIX COMMANDS Task B Create a one-line command, using the famous.dat file, to add the word...
UNIX COMMANDS Task B Create a one-line command, using the famous.dat file, to add the word " STREET" to the address, for all who live on 2nd or 3rd. For example: "2nd" becomes "2nd STREET" and "3rd" becomes "3rd STREET". Display only the first 9 lines. Hint: Use 2 sed statements with pipes. Task C Display all lines in famous.dat that end in 0 or 1, and have a 1 in the 3rd from the last column. For example lines...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT