excel 2016 vba

  1. C

    Excel VBA 2016 Changes in Chart Commands

    Hi All, I have an Excel VBA macro that runs perfectly fine in 2010 and 2013, however it bombs in 2016 when it encounters the setting of the plot size characteristics. Following are the specific settings in my code that give me trouble now: .PlotArea.Width = 630 .PlotArea.Left...
  2. N

    VBA - Transferring certain columns of data to another sheet that meet a criteria

    I am using code to transfer data that don't have a blank cell in column A from "Data" to "ForIndustry". While the code works, I would like to only transfer columns A:P rather than the whole row. Any guidance would be much appreciated. Sub transfer() Set i = Sheets("Data") Set e =...
  3. F

    Hide Excel Title bar, maximize, minimize, close buttons

    I have been using API code similar to https://www.mrexcel.com/forum/excel-questions/6148-possible-hide-excel-title-bar.html successfully to hide the Title Bar (min, max, close, menu buttons) in Excel 2013/2016 running Win 7/Win 10 and it has been working without issue on tablets when rotating...
  4. E

    Automatically rename all tables on a worksheet

    Hi all! I am trying to rename all the tables on a worksheet and understand that I need to use VBA to do so.. I'm not very experienced so I was wondering if I can get some help here. Basically the layout of the table is like this: <tbody> Name Part 1 Name Part 2 Column1 Column2 Column3...
  5. R

    Add filters to pivot table

    Hello, I need help on this. I have a pivot table with the following columns: Manufacturer Name MPN Commodity Family Project Name Contract Manufacturer Unit Material Cost Volume Spend I want to add filters above the table so it will look like this. Enter...
  6. S

    Using VBA how to change the backend query definition of a table in Excel

    Hello Dear All, There is a table in excel 2016 made out of a SQL Query which is linked to a few pivot tables, each month we open the SQL query in Query Editor and change the parameters and save. Later we refresh all the pivot tables to update. My Question is: Is there a way to change or update...
  7. G

    VBA to get last instance of a value, the contents of another cell, and make a new worksheet

    I have an excel sheet similar to the following: ColumnA ColumnB ColumnC George 1 14 Edith 1 16 Archie 1 26 Betty 2 32 Fred 2 34...
  8. N

    Convert List Of Sequential Numbers Into Ranges

    hey i have a list in the same cell separated by , ex: <colgroup><col width="229"></colgroup><tbody> 1,2,3,4,5,9,22,23,24,25,244,245,246,247,248,249 </tbody> and so on i want it to be converted into 1-5,9,22-25,244-249 any help would be much appreciated.Thanks
  9. K

    Set variable as query name in assigning table datasource

    I need help with the syntax to pass the query name and set a table's datasource from an existing list of queries within the workbook. I tried to modify the syntax for the LoadtoWorksheetOnly code from the suggested code sample, but I am not familiar with using a workbookquery. I am trying to...

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top