string address

  1. A

    Remove adjacent duplicate characters from String A and remove characters in the same position from String B.

    Hello, I have two strings of letters (columns String A and String B) and I want to transform them into strings like the ones in Solution 1 and Solution 2 correspondingly. In the case of String A, I need to remove any adjacent duplicate characters, so the string ZPDUU would turn into ZPDU...
  2. B

    count colors on sheet using cell value as sheet name

    i have a code that counts colors on a sheet. Colors blue and Yellow. The code is on each sheet it works on. i like to modify it to work off a module and use a cell value to call what sheet to use.here is the working code from sheet: Public Sub DEISOBUTANIZER() Dim db As Object, dy As Object...
  3. B

    VBA: Problem when addressing Workbook or Window via String

    Hello, Does anyone know the bug or problem where you get an error message (error 9 or 91) when you address a "window" or a "workbook" with a string like this? strFile = "NameOfWorkbook" Windows(strFile).visible = false Workbooks(strFile).Close The strange thing is, that this code is...
  4. H

    Vba code or formula to search value in column and return the same

    Hi Mr.Excel, I am looking for vba code or formula where I can search number in the given column (this column combination of numbers, text and special characters). In this I would like to take only number which I require or entire cell which contain the requested number, if provided number does...
  5. E

    How to move Workbook that changes name?

    Hi. Here is the code I've created: Windows("Banana Republic (99316).xls").Activate Sheets("My Favorite Store").Move After:=Workbooks( _ "My Favorite Store Macro.xlsm").Sheets(1) Sheets("Controls").Select The goal is to be able to manually download the Banana Republic...
  6. H

    Can a string of data be returned when you match 2 criteria?

    Just curious if a string of data can be returned if a set of criteria is met: Here is where I am going with this. <tbody> A B C D 1 123 Main Street Las Vegas, NV 88888 Criteria 456 My Avenue Miami, Florida 55555 2 456 My Avenue Miami, Florida 55555 Avenue 3 789 Their Boulevard...
  7. O

    Use string cell address from a Excel cell VBA

    Hi all, I have a cell that has the string of a cell address in it say Cell A1 has the string B2 How can I in VBA look at this cell and use the text inside as a range the same as the INDRIECT function. Also can the cell I am looking at for the string be set as a Dim so if the contents change...

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