source

  1. L

    For i = 1 To i

    Hi I do not understand the for loop below. When I say for i=1 to i That is to me, I am assigning I to 1 and there will be no loop. I did step through but still can not see how "i" can be in the loop when it has been assigned to 1 and the max is i (to i). Can the code below be written in...
  2. J

    Automatically Import Text files via Power Query

    Good morning; I get multiple text files that need to be imported and parsed. I wanted to automate this function including allowing a user to navigate to the folder for the source files. Also, do not want to use VB since my company does not allow this. Any ideas? Thanks
  3. F

    Sorting Row-Paired Data (Macro?)

    Hello All, I've got a very large data set (setup layout below), which I am trying to sort without disrupting the adjacent column references... Column "A" has the headers, while columns B+ have successive months worth of data (e.g. Jan, Feb, Mar, etc), however, the data is being sourced from two...
  4. J

    VBA Multiple If then statement help

    Hello, I am trying to modify this vba code that would find rows containing 20 products and cut/paste them onto another sheet. I tried to add an elseif to this code but it is not working. I am new to this so any help would be appreciated. Sub CopyYes() Dim c As Range Dim j As Integer...
  5. K

    Saving files from a folder with Yesterdays date to a folder with Todays DAte

    Hi, I am trying to copy all the files in a folder with Yesterdays date to a folder with Todays date. I have tried sharing the code I have written so far but its not looking like the codes in other posts. Sorry if the code is not loaded correctly. In my main sheet I have created a formula...
  6. M

    Need help in Timestamp format conversion

    I have timestamp under Column A in this format: 2019-06-27T16:05-0400. I want only 16:05 from that timestamp i.e. hh:mm. Can someone help how we can do using macro? Source <tbody> 2019-06-27T16:05-0400 2019-06-27T16:10-0400 2019-06-27T16:35-0400 </tbody> Target: <tbody> 16:05 16:10...
  7. A

    How to find and read multiple files based on date range.

    I have been searching for a way to be able to read and write multiple files to .txt. I can currently get the most current file with a wildcard, but the other archived files are in sub-folders named by date i.e. 07072019. I would have two dates on a sheet, say B3 and C3. B3 being start date and...
  8. I

    Drop down selection no longer works

    Hi, This morning i came to use the drop down list but nothing happened. If i select the cell then data validation i see the following, SETTINGS Allow LIST which is correct Source =HONDANUMBERS which is correct I click on OK but see an error message The source currently evaluates to an error...
  9. L

    Copy data maybe with an IF formula but without leaving gaps

    Hi, I have a table of data, it is a list of actions for different team members, so the columns are: A1 = action number, A2 = name of the team member, A3 the Action assigned. I want to have 1 central database of actions with all of the teams work related actions on, this is the main source, BUT...
  10. A

    VBA pathway specification for a data connection between two excel files

    All - good evening Having some issues getting vba to work that specifically points two different data query table connections in one file to a specific separate source file. The specific source file is located in c:\Crop Chemical Database\Crop Chemical Database.xlsm I want the receiving...
  11. D

    VLOOKUP across multiple sheets using dependent dropdown

    Using a dependent dropdown, I have multiple values all with different source locations. I have used VLOOKUP to automatically populate a cell next to a drop-down. =VLOOKUP(C13,'SheetX'!C5:D5000,2,FALSE) However if I select B from the drop-down, how do I get VLOOKUP to do the same thing? The...
  12. C

    Report file size from file paths specified in cell - wildcards

    Hi, I have a rather specific query i need help with. I have a spreadsheet which has a series of cell values that relate to daily files we receive from around the business. As part of a wider process i run a series of macros to copy and move these files from their source folders. I would now...
  13. T

    Is there any way to copy relative references with table formulas.

    Example of what i want: If in cell A3 I have the formula =A1+A2, and if i copy that to another sheet, cell A3, the pasted formula will be exactly "=A1+A2", and it will refer to the cells A1 and A2 in the destination sheet. The formulas are not changed to be hard-coded to refer back to the cells...
  14. H

    To highlight source data values for a value selected in pivot table

    I am no able to find out how to highlight the source data values for a value selected in my pivot table. e.g. if I select a value (say 57111.25) in my pivot table then all the values/rows in the source data whose sum is that value (57111.25) should get highlighted/colored/numbered. There is a...
  15. 9

    multiple charts - same worksheet - non contiguous cells - VBA code

    hi problem - I have found some code on the net that basically does what I want. I run the code and it loops through my data on sheet1 and outputs charts on sheet2. however the code gets the source data only from each row and does not allow for non contiguous data. my X axis data is always row...
  16. Z

    Power Query connection to files on SharePoint - users cannot connect

    Hello, I am using Office 2016 and Windows10. I have 4 files all in a SP doc library - 1 main file with connections to 3 Excel files in the same library. I originally set up the connection using Data > New Query > From File > From (Excel) Workbook. Users had permission errors, I did some...
  17. O

    Using a Var to Loop through and change listbox name

    I have an issue with my UserForm that I have researched extensively and can't quite find the solution. I have a multipage UserForm with a page for each of my 8 events we'll be attending for my work. A few of the ComboBoxes and Listboxes should be populated with identical information and...
  18. C

    Tables - Multiple Worksheets - Automatic Filtered Update

    I've created a simple action list template with source filters (the master). I need to create a separate tab for each source that shows only the actions originating from that source. Ideally when the master list is changed, the table on the source tab would update automatically. Any help /...
  19. H

    Macro does not run if file is open

    Hello, I am using the below code to update links Sub update() ActiveWorkbook.UpdateLink Name:="\\192.168.0.100\itex share\ITEX\DATA ENTRY.xlsm" _ , Type:=xlExcelLinks End Sub The code works fine when the source file is closed. but gives a debug msg when the...
  20. A

    Refreshing a Pivot Table/Pivot Chart in One Workbook with the Data Source in Another Workbook

    Hi all, I have 2 workbooks I am working on and am stuck on a question regarding pivot tables/ pivot charts. In workbook 1 I have a Power Query that updates the workbook with ~20,000 rows of data. In workbook 2 I am trying to create a dashboard containing a pivot table and pivot chart of 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