vba & excel 2016

  1. D

    Unable to load .data file in excel using VBA

    Hello, I'm trying to build a dialog box where will ask me to load a .data file extension file which later on i will edit few things and save as .xlsx. Problem is that whenever the file is selected and supposed to be loaded, there is no outcome... it simply ends macro as if nothing happened...
  2. S

    Copying cells from one worksheet if their value matches cells in another worksheet

    Hello! I have Googled and searched the forum here, but I haven't been able to find the exact solution I'm looking for. The context of this request is that I'm doing a database update. The source of the records includes addresses, some of which have firm names in them, some of which do not. Our...
  3. K

    Function .Activate and .Close not working on Mac/Excel 2016 - workaround?

    Hi team, I have a Macro that runs like a dream on a PC, but on the Mac (which is the computer I use) it does not. I've traced it to the two lines highlighted in red. The macro runs when I remove them, but that means I have to manually close hundreds of files. Is there a workaround or fix for...
  4. V

    VBA error, Unable to set the FormulaArray property of the Range class

    Hi All, Please help me solving this error. I have read several post on this error but still I am unable still unable to find solution. This error occurs since below array formula have extended more than 255 char. Please help me how should I break this formula to make my code work. I am using...
  5. D

    Dynamic array in autofilter

    Hi guys! Taking my first steps in working with arrays. I'm trying to load a dynamic array as an autofilter criteria, but I must be missing something. Found some hints Googling around, but couldn't make it work. I will get the filter marker in the right column, but no filtering results. Array is...
  6. D

    Select 2nd value in filtered range

    I'm looking to select the 2nd visible value from autofiltered range. I have a table MyTable and looking to get the value from column G (also named as MyRange). The code snippet below works fine with autofiltered range, but all I can do is locate the first visible value in a column G -...
  7. D

    How to stop Frame Scroll Bar from jumping in vba

    Good day all, I have a userform with a frame (Frame1) consisting a vertical scroll bar of height set to 1000 , the Frame houses 160 textboxes arranged in 40 rows and 4 columns. The 40 textboxes on the first column each have a list box. The problem is when I double click on the list box...
  8. C

    VBA code that stops and alerts user of error

    Hi Everyone, I'm working on a VBA code that refers to a range of cells on my "Summary" page and creates a copy of a hidden "template" tab for each name listed in this range. My question is how can I have the code stop and alert the user of a duplicate name whenever that occurs rather than cause...
  9. C

    VBA to Export data into Word and generate PDF report

    Greetings my fellow Excel enthusiasts, I am hoping someone here can help me develop a code that will export data from excel to a word template, generate a report/proposal and attach it to an email in a pdf format. I already have the code to generate the proposal but can't seem to figure out the...
  10. N

    Dynamically Update Slicer Selection based on pivot table filtering

    I have 3 pivot tables using same source data. I have month wise budget and actual numbers (3 columns - Month, Budget, Actual). I have created one slicer for month and only want to show months which have actual numbers(for example Jan to June). Right now, it is showing all the months as budget...
  11. S

    Cannot paste to a specific column using VBA

    Hello folks; My very first post here...Using Excel 2016 with VBA. I have created some code that will copy specific data based upon certain criteria. I'm not very good at VBA so it may not be the most efficient but I'm 98% there...the criteria works great! I cannot for the life of me paste the...
  12. D

    Losing Table theme in RangetoHTML VBA

    Hi! I'm using the popular VBA code for range-to-Email functionality. My emailed range includes table with header + a few extra rows below, all belonging to "MyRange". I want to improve the visuals of the emailed range and enabled "Banded rows" under "Table Design". I also considered a different...
  13. C

    Help exporting excel data to word and attaching to email as PDF

    I created a spreadsheet that pulls data from various tabs and summarizes it on the main page. Excel then exports the data to a word template. What I would like to do is have the data converted to PDF and attached to an email. Can anyone help me tweak the VBA code I currently have to accomplish...
  14. M

    Compile Error: cant find library or folder (DATE) in VBA

    I am running a macro in excel and i am having trouble with this error popping up and highlighting the Year(DATE) formula in my vba. i have searched and searched and have found things on how to replace the referrences but i dont know what reference to use to solve this issue. my program runs...
  15. K

    Index/Match in VBA with criterion applied

    Hi everyone, First time posting so apologies if I commit any faux pas. I have a classic problem with vlookup whereas I have multiple matching values but want to get a specific index. I recently got into VBA and wrote a function which does the following: In sheet 1 Looks if cell value is equal...
  16. C

    Transferring table and cell data from Excel to Word using VBA

    Hello everyone, my boss has me working on a spreadsheet that pulls information from various tabs into 1 "Summary" tab. We then VBA code to put the information into a table (removing any blank rows in the process) and transfer to a word template called "Proposal" located in the same folder as the...
  17. C

    VBA help selecting excel rows with data and exporting to word

    Hi, I have a spreadsheet I am preparing for my boss that requires me to review column B (B28:B47) on the "Summary" sheet, determine which rows have data and transfer a portion of the rows (columns B, C, D, E & F) to a word template called "Proposal". I have limited experience with VBA but I...
  18. D

    Speeding Up For Each Loop Populating Table Rows

    I have worked pretty hard to come up with a solution that does what I had hoped but, it is SLOOOOOW!! Just under 28,000 rows of 8 columns took 19 minutes to process. Not acceptable! LOL! I am summarizing an application log. The process cycle creates three log lines per complete transaction. The...
  19. D

    Interest Calculation - VBA

    Hello I need some help to create a VBA code to ; · User enter a End Value · User enter monthly amount · User enters rate (Currently this is hard coded but ideally user should enter it) · Start date I need to calculate interest every June and Dec...
  20. H

    Excel VBA Query Refresh Very Slow

    Below, I have an Excel VBA statement that takes 20 MINUTES to complete: Selection.ListObject.QueryTable.Refresh BackgroundQuery:=False Versus, when I right-click the query table in the sheet and manually hit "Refresh" - it only takes 10 SECONDS to complete! What's the deal? Is the VBA...

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