1. G

    VBA Error 91: Object variable or With block variable not set

    Hi I have been trying to search for a solution for days to no avail. Basically below code should take a specific value (C2) from ThisWorkbook and find if it exists in Sample Db (Column D), if it doesn't exist, it will populate a range of data (Column A to AI) from ThisWorkbook to Sample Db, if...
  2. L

    VBA to update one sheet from data stored in another workbook

    Hello there! How are you? I hope you can help me. I'm new in VBA and I have an issue I can't resolve. I'll try to explain what I need. I have Workbook A and Workbook B. Data in Workbook A is updated by clicking a button. It takes information from another Workbook B that is generated by an...
  3. T

    Update cells in a table using the text in column A as the reference to find the correct row

    Hi everyone, I have a worksheet called DATA TABLE which has some 30+ columns. Located in column A is the specific site name. I have another worksheet called DATA AMEND which I am able to populate specific cells with information from DATA TABLE. I wish to then alter any of the cells in DATA...
  4. J

    Updating existing records in closed workbook VBA from current open workbook

    Hello, Any help appreciated. I tried finding an existing thread on it but could not find one close enough. Long story short, I have two excel files. One is called "Item Impact and Cause" and stores a list of 4 columns which are (1) Item Number, (2) Root Cause, (3) Recovery Week, and (4)...
  5. W

    Circular References.

    Greetings, I've been using this spreadsheet for years. It has been working fine. But today I'm getting this message; In the lower left-hand corner was the cell reference. I've tried to delete that cell, but it would give the next below that one I just deleted. I deleted the rest of the...
  6. J

    Automatically update a summary page from different pivot tables

    Hello, I have a few sheets in an Excel workbook. Each sheet contains a pivot table. I then have a summary sheet that contains columns from each of these pivot tables. An example of the original data looks like this: Time Desc Temp Prg_Freq Meas_Freq Test 1 Test 2 Test 3 1/0/1900 0:00...
  7. R

    Automatically Update Code

    I have a code that changes the range of data for a chart as more values are entered. I want the user to enter their values and the chart to automatically update but am unsure how to do this. The code works fine when i manually run it, so the only challenge is making it run by itself. Any help...
  8. M

    Vlook up between two workbook and display message

    Workbook A,sheet 1 Supplier Amount Owner status Date AVT 500 John 4/22/2020 ABC 1000 Peter 4/21/2020 NAC 600 John 4/22/2020 BAT 10001 Andrea 4/23/2020 Workbook B, sheet 1 Condition should match Supplier, Amount, Date, If all matches in sheet 1 of workbook B with Workbook A...
  9. M

    Transfer and update data from various workbooks into one

    Hey everyone, I have 3 IDENTICAL workbooks (say WB-A,WB-B,WB-C) with 4 sheets in each workbook (say WB-A1,WB-A2,WB-A3,WB-A4 / WB-B1,WB-B2,WB-B3,WB-B4 / WB-C1,WB-C2,WB-C3,WB-C4). These 3 workbooks are basically reports for 3 different projects, which are updated individually on a monthly basis...
  10. D

    Worksheet Change

    Morning all I was very kindly provided the code below which produces a message should the value of one cell (row 39) exceed the value of another (row 41) as users change data in a column. That works great. What I would like to do is change it ever so slightly in that I would like the message...
  11. W

    Adding/updating text between a string or cell with text

    I have the following stored in a string (can be in a cell as well, if needed). Let's say s_String1(2,1) or cell A2: This text is permanent //Changeable-Text-Starts-Here This text can be changed by macro //Changeable-Text-Ends-Here This is also permanent I want to be able to remove...
  12. J

    Refresh spreadsheet when listbox updated

    Hi, I need help writing a vba code which had 7 textboxes and an update button to update the listbox then spreadsheet updated via the listbox. base on the colunm selected from the listbox, it populates through the textboxes. when selected column from listbox is selected, update is made via the...
  13. S

    Excel VBA relection bug

    Hi, I have the weirdest bug. I have a simple macro that goes like this: Sub Update() Application.Calculation = xlManual ActiveWorkbook.RefreshAll Range("A20").Select Application.Calculation = xlAutomatic End Sub When I use this code, all goes well, but I later get a...
  14. H

    macro to Update Formulas on all Sheets (F9)

    I have written code to update my formulas instead of manually updating using F9 It is not updating all sheets, only the current sheet Sub Refresh_Formula() Dim ws As Worksheet For Each ws In Worksheets ws.Calculate Next ws End Sub It would be appreciated if someone...
  15. M

    VBA solution to get rid of "update" links message when a file is opened?

    Hi I get two different types of messages when opening certain files with a macro, that I don't want to get. One of them says "This workbook contains links to one or more sources that could be unsafe. If you trust the links, update them, to get the latest data...." Then it gives you...
  16. S

    Indirect within sumproduct

    I have the following formula but want to use INDIRECT function on the column name within the table GANNT so becomes easier to update =IF(F$7<$C$2,0,SUMPRODUCT(--(GANTT[WK40_2]=$B$11))*E$8) Have tried the following but get a #REF...
  17. J

    Upgraded to 2016: Graphs are no longer animated running VBA

    Hello, I did some searching but could not find anything that seemed to work for me so I apologize if this has been asked before: Our office recently did a batch of Windows upgrades and I'm now on Excel 2016. I have numerous macros that will perform iterations and update numbers on the screen...
  18. L

    How to automatically update excel without opening it once per week

    Hi, Right now, once a week I need to open a file, refresh the table, save and close the file. Is it possible for excel to automatically update itself without opening it once per week? Thanks in advance.
  19. D

    Power query - Updating files before getting values

    I have a query that retrieves information from multiple excel files in a folder The problem I am running into is that those files have formulas that depend on the current date Seemingly, when power query retrieves the data, it doesn't allow the formulas to update first This results in incorrect...
  20. P

    Import data from excel and update in browser

    I have two columns in an excel file A - contains the web link B - contains the data to be updated in opened browser as per A. While opening in the web browser (1 as per image) there is drop down option comes at a particular section (2 as per image) > select an option > it will open up...

Watch MrExcel Video

This Week's Hot Topics

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