excel-vba excel macro

  1. S

    I want to copy paste chart as a object in PPT in which titale header and footer is already there using excel vba

    I have total 70 slides which I am getting by changing the slicer, My code is working to open ppt (which is backdated chart from excel) delete the previous object change slicer and add the chart then copy-paste the charts in ppt. The issue is that 70 slides is pasting after 1st 70 slides. because...
  2. M

    Multiple VbQuestions Fn intersected with loop IF

    I need to use vbquestion 4 times as below 1. The first one asks if you need to upload the first file or not 2. Then asks for the second file 3. Then asks for the third file 4. Then asks for the fourth file 5. Lastly shows a message for the selected files using a string variabe if the...
  3. H

    Insert bulk hyperlink from Excel list to PowerPoint

    Hi I have PowerPoint has 83 slides each slide have 12 images and 12 textboxes (textbox names for each slide start from 1 to 12) What I'm trying to do I have excel sheet which has all my data Column A has a slide number For the PowerPoint Column B has textbox name Column c has a title which...
  4. W

    VBA Code to extract number and paste

    Hi, I am trying to paste data from A,B columns from sheet1 to Aand B sheet2. For the A column , while pasting data I want to paste only numbers from each cells of sheet1. And for B column while pasting i want to remove first 10 letters from left and the paste it. Can someone help me with a code...
  5. C

    VBA code need to only copy and paste visible cells, code needs to be amended

    I have written this code and it has worked until now, I am still relatively new to VBA and now having issues amending the code, I have put two VBA Code: AutoFilter to pull certain rows, but I can't seem to work out how to only copy and paste visible rows, I have tried VBA Code: Set TempRng =...
  6. S

    Compare Two Columns in two different workbooks using VBA

    The below one has written with specific range and in the same workbook in two sheets(sheet1,Sheet2) looking for your help guys,If row range changes dynamically(no specific range) and in two different books.how to write Different way of approaching the common column in excel is also accepted
  7. B

    use excel/outlook VBA open PDF file(password protected but have password to open it) and then click the link(on pdf file ) to open the file

    Hi All I need your Excel Excel/Outlook VBA expert to help. I knew how to build up outlook VBA to detect new email with attached file (i.e. PDF file) coming in the specific folder but have the following problem : The email has attached file that is PDF file with password...
  8. rediffusion

    Creating a `PopUp Menu` using 'CommandBarPopup' what other methods are there? Context Menu.

    I stumbled on this method add a `PopUp Menu` from Ron de Bruin (I olso write to him but no react). It describes how to add a "Menu" is there code to add for example "Gallery" (I'm more interested in the gallery), "ToggleButton" or "SplitButton" ?
  9. K

    Duplicate Attachment when Sending Email using Gmail in Excel VBA

    What I am trying to do is to send multiple emails to multiple clients with a click of a button, with each client has a different attachment. I can already send an email with an attachment, however, the second recipient also received the previous attached file sent to the first client prior to...
  10. T

    How do I run a macro in Excel when the enter key is pressed on a specific cell

    I'm currently trying to create a tool that will call/run another macro/sub when the enter key is pressed on cell B4. Cell B4 will be the search field. Whenever someone types something in this field and hits enter on their keyboard I want another macro called "searchcontains" to run I've...
  11. S

    Copy the below and paste it one cell up

    Please see the attached image too. I want to copy the values one cell up to the last row. https://imgur.com/TQQplI7 Sub test2() Dim rOriginalSelection As Range Cells.Select With Selection .HorizontalAlignment = xlGeneral .VerticalAlignment = xlCenter...
  12. Z

    Paste but keep Destination formatting

    hi heres my code but its keeping the sheet 1 text format when i want it to be like sheet 2 text and cell format Private Sub CommandButton1_Click() Sheets("sheet1").Range("A1:A4").SpecialCells(xlConstants).copy _ Sheets("sheet2").Range("A1:A4").End(xlUp) End Sub
  13. H

    Automating Manual Date Changes recorded on another sheet.

    I have two sheets on the first sheet, Column A have the project name, I have Columns K, L, U where I have dates that change on a weekly basis. On Sheet two I have same thing starting with A27, I have the same project names, however on F27, G27 and H27 where I manually enter the historical...
  14. A

    Set the scroll bar at the Left (column A)

    Hi, I have a macro and it perfectly run. however, the result is always shown at the right (latest column). image attached http://ibb.co/maG9L6 I tried to add the macro select.range("A1") or Application.Goto Reference:="R1C1" and it still not working. Is there anyone know how to make the...
  15. F

    Horizontal cycle (VBA)

    Hello! I have some macro: Sub bracketsSub() Dim arr() As Variant Dim x As Long x = Cells(Rows.Count, 1).End(xlUp).Row arr = Cells(1, 1).Resize(x, 2).Value For x = LBound(arr, 1) To UBound(arr, 1) arr(x, 2) = brackets(CStr(arr(x, 1))) Next x...
  16. M

    Use a macro to edit VBA code

    I wrote a code to pull a table from a website. The website has a calendar feature and part of the web address can be edited to pull the correct table based on the preferred date. I tried to create a macro that deletes the current table, copies a cell for a new date, opens the code and pastes the...
  17. A

    Make a difference Amount from 2 sheet using Macro

    Hi, I have a problem to be solved. I have data from sheet 2016 and 2017. What I want to do is to make another sheet to calculate the difference money within 2016 and 2017. Please see the image link attached: https://ibb.co/hniZo6 --- case 1 https://ibb.co/jWcuo6 ---- case 2 What I want to do...
  18. A

    IF statement with multiple parameters and overwriting cell values in separate sheet

    Hello, I have a scenario/idea I would like to try but honestly, I am not good enough with VBA to get it done in a reasonable time. I'm aware this isn't a "Code for me" site but I thought I'd describe the scenario as detailed as I can and see if someone can help me or give me an idea of how I...
  19. J

    copy and paste in VBA from specific column into another sheet

    Whats a simple code for copying columns (A2, B2, C2) from sheet 1 into Cells on sheet 2 (A7, B7, C7) needing this for a macro and adding a command button that just copies it.
  20. B

    Excel vba to extract outlook email --run error 438

    Hi everyone I need your expert help !! Please refer to the code below. The code will be in Excel VBA (I am using Excel and outlook 2013 version) and then run it in order to extract a large amount of email in outlook I have 3 questions and need your help Let's say my "Inbox" has...

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