This is my full code
Sub StripData()
Call InsertData
Call FormatData
'Call DragData
End Sub
Sub InsertData()
Dim myWb As Workbook
Dim myRowsToCopy As Range
Set wbtemplate = Workbooks("Template.xlsm").Worksheets("Raw")
Set formatrange = Range("B2:CE2")
Set formularange = Range("AK2:CE2")...
What I'm attempting to do: copy all the rows from an open workbook, insert them into my other workbook that is a template, between to placeholders with formulas. my data in the template goes from A:CE. I've got the first part working where I insert the rows, but I don't know how to paste formats...
Good morning. I read the article concerning this question but the recommended code was not working for my intended application.
I am looking for some help, please. I have an excel table for which I need to back up daily. I want to save new data (values only) each day without overwriting the...
Hello,
I am very new to excel and VBA. I am trying to:
-Have a button for each row in a sheet called "sheet one".
-On click for one of these buttons, it copies 10 specific cells from the row (say J, H, I, M and L for a given row),
-Putting them in a new entry in a different sheet "sheet two"...
Hey!
Hoping for some help once again.
I have a table that tracks my rentals:
Job Number:
Job Name:
Equipment rented:
Employee:
Company Rented from:
Rental Start Date:
Length of rental
Estimated Due Date:
Date Returned:
Returned By:
Total cost of the rental:
Rental Complete
Scissor...
Hello,
I'm looking to edit this script such that if there is no value under the first row and then don't copy it. So only copy the cells with values inside
Range("D11").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select...
Hello there,
Can someone help me with VBA code to filter all the values in column B ending with 21 or 22 or 46 in the active workbook and then copy paste data in to the worksheet named "Data" in the workbook named output which is placed in the same folder as the active workbook.
Good Afternoon,
Hoping for some help here, I clearly don't know what I am doing.
Here is the goal: To update my master spread sheet.
I am trying to implement a new project tracker, this will be an excel sheet, named exactly the same thing, for EVERY job.
It has a table in it on a hidden...
Hello fairly new with vba but having some issues... I have a workbook with 3 sheets. Lets say sheet A sheet B and sheet C. Sheet B is a a form with data entered in certain say cell C5 , F11 and G15. In a nut shell I want to make an archive by copying a sheet, rename it, hide it, and clear the...
: hi all,
please help me in the below vba code, as beginner
in the work sheet, just want to insert the multiple rows through input box and insert after which row through input box.
then i make which row to be copied through input box.
i cannot paste the copied row to the number of...
I have taken over a project that someone previously developed the macros for. I would prefer it to work regardless of the dataset being used, but the person that developed it used mostly "fixed" ranges and I would prefer that it determines the range based on the data set.
The beginning of the...
Hello.
How to copy data from all worksheets in a workbook, into a new single worksheet, creating a new worksheet named "Combined" but not adding them below into same columns (last used row +1), but to the side. First data from the first copied worksheet into "Combined" shoud go into A1, then...
Greetings everyone!
I'm relatively new to this world and I've tried to solve my problem with macro recordings, tinkering with those and hitting up google but I did not yet get the hang of it. While being able to create single, individual steps when lucky, interconnecting several and of those...
So I have been having this same problem for a long time.
I just work around it, by scrolling with my mouse, which can be tedious.
We used to have MS 2016, now we have Office 365. Problem existed on both.
The document is a shared document, old school, not the internet sharing because I need to be...
Hi all,
I am considering to use power query to get data for my pivot table. However, I am EXTREMELY new to both pivot tables and power query.
I want to import data into this pivot table (not using power query below):
I have the source data saved here:
So questionnaire data file 1 is week...
Good day,
Looking for a way to round a value I am trying to copy or the range I am trying to paste.
The code is below. Tried inserting Round., but do not seem to find the correct placement. Also tried numberFormat = "0.0".
Could round the whole column after pasting in the values, but would...
Hi folks,
Today I found a bug in my workbooks that only causes a problem sometimes.
I have a source worksheet that has stock index close price data on it. In the past I used a macro to retrieve that data by selecting the range/copy to a different worksheet.
Today I noticed that since I used...
hello, community.
I'm trying for 2-3 days to make a Microsoft Access Database for a schedule at my work - 24/7 x6 people. it's too hard for me and I'm back to excel.
at the moment I'm trying to bring the information (text) from sheet 2 to sheet 1 but i want to keep the text formatting ( only...
Hello I have table like that:
1.1 Covid cases in hospitals per date. Column 6 is Hospitals with strings of the hospital names. There is like 40,000 of items.
1.2 In column 5 of this Sheet I have emty column, where the Hospitals IDs should be placed (like 40,000 items).
2. Now, in different...
Hi,
I am interested in a way to merge/copy sheets from multiple Excel files into a single Excel file.
Some tool or script (python/java?) that will work in Unix and Windows systems, with/without MS Excel installed.
While preserving existing cell format/style.
Something equivalent to going over...
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.