excel vba 2010

  1. V

    2 dimensional array is causing run-time error 91

    I am writing code to change the read the formatting of the cells in my worksheets. I got the code working using for loops but it takes too long running this way. So I am trying to rewrite the code using arrays . On the worksheet I am on now I have two tables that I have to loop through. Table 1...
  2. E

    VBA: Wait command that would allow data to be fully imported before continuing script

    Hello, I'm trying to find a command that would temporarily pause my script and allow data from a database to be fully imported before continuing the script. It takes a few seconds for it all to be imported. My code doesn't account for this and it continues to run other subs that are based off...
  3. N

    Get string after "\"

    HI Friends I have one question how to get data which is after "\" from right. Ex :- T:\Desktop\Files\Robart working.xls I want only last string which come after "\" that mean "Robart working.xls" this file path will not be same in future there will be more "\".however i need only last...
  4. V

    Cant get named ranges

    I am working with excel 2010. I am trying to write a script to go through the named ranges of the workbook and delete ones with #REF errors and add ones that don't exist. Currently I am using the Names range but I only get the last part of the range not the whole range so my code does not work...
  5. A

    VBA Excel 2010 - data validation filter - event handler

    Hi all, I'm new to using VBA in Excel, and I'm having a tough time getting my event handlers to work properly. I have data validation set up in a specific column. The user must choose from a specific list of part #s, which is listed above the cells with the data validation (current worksheet...
  6. D

    scraping website using vba excel please help

    Banking & Finance Jobs, iim mba jobs, ecommerce, retail, business, development, manager, technology, healthcare, telecom, insurance, fmcg, media, bfsi, director, vp/avp, ceo/cfo, agm/dgm - iimjobs.com Hi all, Please find below data format for website scraping.please send me code on my email id...
  7. blackorchids2002

    NEED HELP: How to code correctly an HTML element to excel vba

    Hi Masters, I have posted a separate thread on how to get data from webpage that requires a log in. I have sorted it out to start doing it but unfortunately, I have a debug error in running my macro in excel. It will not select the value that I indicated in my macro to select the chosen...
  8. A

    Can anyone help, hard excel task need a little more help.

    Hey guys does anyone have any clues on how to do this, I am having a hard time. Here is what I am going for. ----------------------------------------------------------------------------------------------------------- I would like a script that will check a range of data automatically every 10...
  9. A

    Copy row from one sheet and insert copied row under last row in another sheet

    I am in need of your expert assistance. I am trying to write some code that will copy rows and insert the copied row below the last row in another sheet. I have a Global sheet that has the data i will be copying. It will need to look in column Q. I think the problem will be when trying to copy...
  10. S

    search for a string in cell having multiple string

    i am looking for a code to search for a single cell value in multiple cell value and return the adjacent cell for eg- in sheet 1- A B 4F876 Sheet 2- A B 4F876 4M4646 5GAR 100 Column B in sheet 1 should return 100 value. Please help.
  11. T

    Change VBA Code to do VLookup on External Spreadsheet and not Local Worksheet

    Hi I am currently using the code below to read the data from worksheet 'data' to a cell in the current active worksheet. This works fine. I now need to change this so that worksheet 'data' is a new, separate spreadsheet. I need to be able to define the folder and the filename of the new...
  12. N

    Clearing the data from mutiple workbooks using VBA

    Hello, I am brand new to VBA and I have some code to transfer data from multiple spreadsheets into one master spread sheet. This works ok but at the end I need to clear the days data from each of the spreadsheets so the data can be transferred again the next day with out duplicating. Is there...
  13. S

    VBA Sheet Array, Referencing 2014 JAN - 2015 DEC as "YYYY MMM"

    So I am very new to VBA, and I'm trying to piece together what I can on my own. I have this code, used to remove data on a certain line, in reference to data being collected on a summary page. I have employee's on row A7:B30 as Last Name/First Name. and their Data on each monthly tab there...
  14. A

    If function not working !!!

    If Range("C" & (i - 1)).Value + Range("C" & i).Value = 0 Then ActiveCell.Formula = (Range("D" & (i - 1)) + Range("D" & i)) / (Range("C" & (i - 1)) + Range("C" & i)) Else ActiveCell.Formula = "0.00%" End If This is not working !! can anyone suggest where's the mistake? I am getting Overflow...
  15. K

    Want to concatenate 10 TextBox.Values from a userform in an excel cell-specific column

    Hello, I am requesting assistance from RoyUK; a lot of your post has helped me and I'm urgently needing your assistance...of course this is open to anyone else who can assist. I'm not an "expert" with VBA but know enough to be dangerous, which is dangerous :eeek: At any rate, I have a...
  16. J

    vba sub for paste row to last empty row or update based on column identifier

    Q: I need to simply paste the values of the row at my discretion (button) so that they remain permanently where I pasted them.If they already exist there then update them otherwise paste to the last non empty row. From where they get copied the rows can change , new rows can come and go...
  17. H

    Selecting a powerpivot slicer value based on a cell value

    Hello, this is my first post, hopefully someone will be able to help. I'm having some issues in automating a PowerPivot slicer using vba. What I am trying to do is have the slicer update and only select what is in a certain cell. So for example assuming the cell was A3 then whatever was typed in...
  18. C

    Excel VBA Macro - Merging Rows on a Unique Identifier while Keeping Unique Data and Adding Values Together

    I have a large excel spreadsheet where I need to merge rows on a unique identifier. I'm trying to develop an Excel VBA macro but still lack the proficiency to tackle this. Here is a picture of an example of what I'm trying to do. The data including the headers are all made up for the example...
  19. D

    How to Open an Excel Document from Share Point by Internet Explorer using VBA

    Am new to VBA & trying to learn as I go. Am currently stuck with an Issue here which I need some help. Am trying to open an Excel workbook(<code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu...
  20. I

    Cannot insert object

    I'm trying to learn Excel VBA with the Safari Microsoft Excel VBA Programming for the Absolute Beginner, 3rd ed. for Excel 2007. But I have Excel 2010. From Excel, when I attempt to insert an object from the Insert>ActiveX Controls, as per the book's instructions, I get an error box that says...

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