Macro to create chart using discontiguous ranges
Hi I've written the following macro to create a chart based on discontiguous ranges. I want to use it on multiple sheets. It works fine on the first sheet but when I try to run it again on the next...
View ArticleCopy Range with Variable
I'm trying to copy to a range using several variables. This is supposed to copy to the first empty cell in Column A, but depending on the variable REPEAT it may need to copy to several cells below as...
View ArticleMacro Automate Email Subject Line Based on Cell Value
Hi, Looking to populate the subject line to include the cell value. However, the cell value is dependent on where the comment is coming from. For example, if I'm writing a comment in Cell S4 and row 4...
View ArticleSmart Code Unexplained
I got this code off of somebody on this site. It's supposed to randomly assign numbers to a range. It seems to work, but I don't understand the meaning of most of the code. If anyone feels like...
View ArticleSet print range for all cell containing data but ignoring formulas
Set print range for all cell containing data but ignoring formulas I have a simple test formula to get get the range of cells with data in them. Works fine as a test. The problem is that my sheet...
View ArticleSetting a range based on variables
I am trying to set a range to be manipulated using 4 integer variables that denote the top of the range cell row/column and the bottom of the range row/column. The range will always be one column wide...
View ArticleFind best dates, roi and accuracy for stock data
I am not even sure if excel can handle to do this or not but here it goes. I have attached a refernece page as example format. In each tab (if all data needs to be in 1 tab that is fine too) there is...
View Article[SOLVED] Finding column name from numbers
I am trying to find the column names from the numbers given. I was able to find a MS KB article (ref: http://support.microsoft.com/kb/833402) on that, and was able to successfully implement it. The...
View ArticleWeb browser control go back to previous page and submit login info
I have a web browser control on a userform that logs into an account. There are multiple options on a drop down box on the web page, I choose and option and it shows the results on a different page....
View ArticleSending of outlook using Excel with template
I have a macro to send a mail through outlook, and it will filter and send mail depensing on the number of items for each recipients The macro is using a filter formula to update a body of an outlook,...
View ArticleSplit cell contents by case
I'm writing a macro that will copy certain cells from one worksheet to another but I've run into a problem. I have a column called 'Full Name'. This contains names in the format: All uppercase last...
View ArticleDivide by 0 error 13
I keep running into the problem that the defallt value in on of my cells is being divided by 0. Everytime I go to that page it pops up with an error 13. i have already tried "On Error GoTo Next" and...
View ArticleFileSearch and VBA error 91 in 2007+
Hello, Have had a very reliable macro i made up a few years ago which copied and the contents from several 1000 excel forms stored in a "Source" folder, and pasted the data into the correct format in a...
View ArticleReference sheet2 by cell address in sheet1
Code: ActiveCell.Value = Me.ComboBox1.Value ActiveCell.Offset(2, 0).Value = Me.ListBox1.Value ActiveCell.Offset(-1, 0).Value = ListBox1.List(Me.ListBox1.ListIndex, 3) ' <== actual sheet2 cell...
View Articlestrip out numbers from array value?
If I have an array built from a user form input box "TextBox1.Value". The values entered by the user are like the below numbers. How can I strip out each number from the value of the array into new...
View ArticleDbl Click Event Procedure
Hi all, I need to code this Double Click Even Procedure so that when you only single click on a value in the List Box (named "PriceList"), it clears the values shown in cells C6:D6. (A hint was given...
View Articleconditional copying from one sheet to another & dynamic print area
[QUOTE=arlu1201] Hi, I have three sheets. In first sheet row A to F contain data and G is used for entering date. I have used code which works great to delete entire row from sheet- and paste it to...
View ArticleFind, Cut/Paste to Different Workbook
Greetings, I have a macro that works great between worksheets within the same workbook, but I need this to work between different workbooks. Excel 2003 Each of three employees (ABC, DEF & GHI) has...
View ArticleMid function and first empty space
hello - can you use the Mid function to seek out a string that starts with a certain letter up to the first empty space? Thanks,
View ArticleVba userform - Add new checkbox for each element in Array
Hi Guys, I wish to build a userform that opens and displays check boxes for the user to select. Each checkbox should be the element value in a one dimensional array How do I dynamically change the...
View Article