variable content

  1. M

    select cells behind/within a drawing object

    Hi all; new user here. wondering if anyone can help with a doozy of a problem. I'm trying to use a drawing object to select a range of cells. and/or values within these cells. much more valuable if an irregular (polygon) shape can be utilized. For example; I have a table, and chemical...
  2. C

    Run a specific Macro in response a specific Cell value change.

    Hi All, I am having a problem with getting a specific Macro to run when the text in a cell is changed to a corresponding value. What I would like is for a Macro to be ran on one worksheet (Report) when the value of a cell (A1) on another worksheet (CaseSelect) is changed. The value of the...
  3. J

    Removing single variable characters within a cell

    I need to remove the letter within the middle of a persons name. For example, if the person is called 'Michael J Fox' then it needs to be edited to show only 'Michael Fox', if the person is called 'George W Bush' then only 'George Bush' should be displayed etc. However the persons name should...
  4. S

    Variable Commission Rate Calculations

    I need a way to calculate commission for my sales reps. The commission is based off a calculated value in H39 of a sheet that I have developed. They get 7.5% of the value when between $1 - $100,000, example: sales of $50,000 = $3,750 in commission. If the value in H39 is > $100,000 but...
  5. H

    VBA extract column/ row value from address string

    Hi Folks I am trying to work out how to get column/ row values from an address string. the relevant code I am using is:- DivCell = Cells(DivRow, DivCol).Address EndCell = Cells(ExpRow, ColMax).Address If Not Intersect(Target, Range(DivCell, EndCell)) Is Nothing Then...
  6. ed.ayers315

    macro to copy only rows and columns by values

    Hello All, I have a macro that copies a range that is set, then pastes these values at the bottom of a table. This would be ok but even if the copied area does not have values, it expands my table with empty rows. The next time this macro is used it paste the new information under the...
  7. D

    Define a variable range, analyze and produce two results

    I'd appreciate some help with this problem, I'm brand new to Macros, but pretty godd with formulas, however this thing has got me flummoxed! Here's a sample my data: <TABLE style="WIDTH: 480pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=640><COLGROUP><COL...
  8. H

    Need VBA Macro to transpose variable rows to col.

    Hi VBA Gurus, I need some help with a VBA transpose function. The number of rows to transpose varies .. but the common marker is "Exited Site".. Would ideally like to see the results in a new sheet here's what the current (input) data looks like .... <TABLE style="WIDTH: 132pt...
  9. O

    Setting a public variable as a constant

    Hi all, I've got some code that calls a public variable. If I run the code a second or subsequent times it fails I have the public variable set Public FileName As String in module6 The information set in the variable is gained from this bit of code Sub ImportTextFile() Sheets("Raw...
  10. zakasnak

    VBA Variable Row Formatting

    I have a macro that I use daily, however the data that pulls back is not consistently in the same rows, so the formatting needs to be fixed daily. Is there a way in VBA to use variable rows depending on what's filtered? Here's part of my formatting code: Sub HyperionTeamsC()...
  11. L

    Template data extract

    Hey all, I've been working on our headcount templates for our planning process and I'm trying to find a way to extract the data from all of the responses into a single worksheet that can then be imported into Access. It's highly manual and did a simple macro but it didn't capture everything...
  12. S

    Variable in Formula

    Hi all Is it possible to have a variable within an excel formula; Example: I have values in cell A1=100, A2=200 and A3=300 In cell B1 I will state which of the cells in column A I want to use and multiply by 5 I could look like this: Cell B1 = A2 Formula; =B1*5 should equal 1000 If I...
  13. S

    Creating Word 2003 Macro for Variable Documents

    I am trying to create a macro that will fill out documents in Word 2003 (or Word 2007). I can do this for static documents, but am having trouble with variable documents. What I mean by this is, my comprehensive template has 61 sections, but for any one case, only 20-30 of them are...

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