excel & vba

  1. S

    Trying to get all sheet names in excel workbook and then give those names to new excel sheet and save it as csv

    Hi, I'm trying to copy column one of each sheet and save it to new sheet which will then be saved as csv file and name of new sheet should be pulled from old workbook. if sheet names are If ShtNames(i) = "Sheet1" Or "Error log" Or "JUMPER REPORT" Or "WIRE LABELS" Or "TERMINATION COUNT" Then...
  2. I

    Charts

    Hello, I hope my request is possible. I need to create a code to go through the data on a spreadsheet and create chart for each product block. There are might be multiple product blocks. I got code to create the first one, but I am pretty bad with loops and have no idea how to make it go...
  3. M

    VBA email from outlook - Excel pivot

    Hi, I went through http://www.rondebruin.nl/sendmail.htm however it did not help since I am not much familiar with writing VBA code. Can anyone help me with VBA to send email based on values in Excel pivot? I have embedded a sample excel file below:- I need separate email where column A...
  4. W

    Generate and attach pdf to email without dialogue box

    This is going to be a long one. I apologize. I found some VBA script online (this is not something I wrote and can't take credit for any of it) that allows me to export and save the active range as a pdf and it automatically attaches it to an email with some predetermined verbiage. I have...
  5. O

    Why does my Status Bar stop updating.

    I'm running a simulation with over 500,000 iterations. I've got screenupdating turned on on, statusBar display is on, and I've activated the status bar to print on the iteration number, but it prints out 6000+ and then stops. Could it be that the software is running faster than the screen can...
  6. S

    Excel VBA to unhide specific rows across multiple sheets

    I am looking to construct a VBA that unhides specific rows across different sheets in a workbook. I can write separate VBA for each sheet/row combination, but was wondering if I can put them all together instead? 3 sheets need the same rows unhidden that I already have code for: Sub Test()...
  7. A

    Runtime error 1004 unable to set the weight property of the border class

    Hello All, I am attempting to insert N number of rows based on N being inserted in cell "D7" Rows are to be inserted at A10, with the formatting (borders) extending to D10 This is the code i have so far but I keep getting the error message "Runtime error 1004 unable to set the weight...
  8. D

    MACRO for pie chart

    Hey guys keep getting an error msg of object variable or with block variable not set..excel highlighted the string of code that may be giving me the issue I a completely stumped need help! the code is below..any help is appreciated Sub Macro5() ' ' Macro5 Macro ' ' Keyboard Shortcut: Ctrl+e '...
  9. H

    EXCEL VBA if or

    Hi all, Please help to run this formula if the day in cell C2 value is saturday Range("F2").Formula = "=IF(AND(D2>=TIME(9,16,0),D2<=TIME(11,59,0)),D2-TIME(9,0,0),IF(AND(D2>=TIME(14,16,0),D2>=TIME(12,00,0)),D2-TIME(14,0,0)*1,0))" and if Cell C2 value is Sunday to Friday...
  10. W

    VBA for (SUMIFS + SUMIFS)

    Hi all, I have a situation where I need to do SUMIFS + SUMIFS + SUMIFS to get the desired result. For example, in the table below I am trying to populate the third column - essentially trying to add the data for client A123 + client B123 + client C123 for Dec 1,2018 in cell c1. Similarly...
  11. J

    Open Excel File embedded in Word Document from vba in Excel

    As the above title suggests I'm tring to open an Excel document that is embedded in a Word document from within my Excel document using VBA. This is the first time I couldn't find a pre-existing answer to my problem. The reason I'm trying to do this, in case someone has a better solution, is...
  12. M

    Open word userform from excel

    I want the button on userformTombol in document "Agendaku.docm" activate after The Excel application Quit. What is the mistakes in the following code: ? (error message : Object dosn't support this property or method) Private Sub CommandButton1_Click()Dim ObjWord As Object Dim ObjDoc As Object...
  13. R

    Date error in excel to outlook conversion

    Hello When I run my send email macro, the excel sheet data that populates in the email body has errors in one column. Eg: In the workbook the values are reflecting as <tbody> 3/9/2019 22:00 </tbody> But in the email body the values are reflecting as 3/8/2015 22:00 Why is this happening...
  14. K

    VBA that counts files in all subfolder of todays date folder, then return count to a H11

    I need a script that will count all files ending in "_1" in all subfolder, then return that number to cell "H11" by pressing a key or by a certain time interval. It needs to select todays folder with this format 20190308-F3-kh, only paying attention to the 20190308 as the date. The "-F3-kh"...
  15. D

    Excel VB Copy Paste alternate Row

    I have data in even row i would like to copy data from even row and paste into odd row and loop goes to last row of sheet. <tbody> A B C 1 2 Data1 Data1 Data1 3 4 Data2 Data2 Data2 5 6 Data3 Data3 Data3 7 </tbody> <tbody> A B C 1 2 Data1 Data1 Data1 3...
  16. M

    moving files downloaded from a web server into a newly created folder using VBA

    Hi Is it possible to use VBA to move several files that have been imported into the 'Downloads' folder (from a web-based application) into a new folder within the downloads folder? I'd want to create and re-name the folder that the files would go into. TIA
  17. A

    Daily Schedule that archives each day?

    Hello, I've been trying to create an excel daily schedule that archives the days that I put in according to their date. I want to be able to type in a certain date and have the sheet show the plan for that specific date. I'm okay with using VBA, any ideas? Thanks. (New to this forum, by the way)
  18. C

    open ppt from sharepoint using the File path in VBA

    Hello, I need to open PPT file form SharePoint using the Excel VAB, can any one please help me how to do it.:confused::confused::confused:
  19. T

    Bilinear interpolation excel

    I need to interpolate data from my table and I already have a way of doing so, which I learned from: https://www.engineerexcel.com/bilinear-interpolation-excel/ However, I wanted to incorporate it to my workbook in a way it can automatically fill in the values, since I have many similar tables...
  20. M

    Excel VBA - calendar date pick up: problem with code

    Hi guys, I am new to VBA and I need some help please. I created a calendar in vba using different sources that I found online. It I supposed to pop up in two cells on my Excel spreadsheet when I Click on those cells, and it does. The problem is that when I click on any date, it will not...

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