In a workbook with multiple sheets, I want to find the address of a cell containing the string "MIS", which will always be in a sheet in which cell A1 begins "P " (with a space after the letter P). I then want to save this address to a range variable and pass it to another sub which will set the...
I want to select cells and turn them upper case. the cells selected will change each time.
I have tried a few things and had no luck
the first way it did not want to do it bc I think my use of the range variable in the actual command is not right.
'set range based on selected cells
This is my first post, but I have used code samples from this site for many years. My trust in the code I have "borrowed" has encouraged me to become a member and learn to create my own code. Many thanks to all!
Excel 2010, MS Windows 7 Pro.
I want to copy the address of the active cell to...
I have created the below code and a user defined function to-
- To specify the range of cells based on the input dates -->sdate and edate variable
-Run the user defined function searchcolumns based on input of range
Below is the code
Private Sub CommandButton2_Click()
I'm trying to create a automated/dynamic Text Import procedure and having trouble filling the array properties (.TextFileColumnDataTypes, .TextFileFixedColumnWidths) with range variables. I've named the ranges as this would be the ideal way to call them from code.
Here is the code:
I've run into the issue where UDF's I write return errors when I try to use range variables fairly regularly. I imagine it's just a simple solution that I haven't come across yet, so here's a simple example that should hopefully solve my other formulas:
I'll enter the formula...
I have a small spreadsheet and im trying to find the fastest way to name a range using a macro.
The way i am currently finding my far right top point of the range is using "FInd" and then ctrl left.
The name is always on column C, in this case the name on top is "2009 Data" so thats what i...