workbooksforecast

  1. J

    VBA Pulling data into sheet from closed workbooks

    Hello, in the second macro - forecast_day_2, it does not pull the values. the forecast_day_1 it returns them all - is there any obvious errors with this pulling of values into my spreadsheet? Many thanks Dim myvalue3 As Variant Dim destcell As Range, r As Long Dim fileSpec As String...
  2. J

    VBA Problem

    Trying to get the result of what dow1 equals to enter in the later line code code, so it will either be F12, G12 or H12. Cannot quite get it to work - any ideas please? If (Workbooks("Forecast Template.xlsx").Sheets("Revenue").Range("B6") = "Sunday") Then dow1 = "H" If...
  3. J

    VBA Import from Closed Workbooks: Condensing Needed

    Please help, I need to condense the below and also to ignore if the file cannot be found: Many thanks! Sub Forecast_AllDays() Dim destcell As Range, r As Long Dim fileSpec As String, folderPath As String, fileName As String FD =...
  4. J

    VBA Pull Data from Closed Workbooks

    Hello, I have the following code which successfully pulls data from closed workbooks. Is it possible to edit it so if it does not find a file stored in the folder then it ignores it? Many thanks. Sub Forecast_Weekends() Dim destcell As Range, r As Long Dim fileSpec As String...
  5. J

    VBA - Pull Data from Multiple Closed Spreadsheets

    So I have the following code which pulls 2 cells from the same closed workbook successfully and populates them into the relevant cells in the specified workbook. How would I continue this on and obtain values from another workbook please? Public Sub...

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