Message Box displaying changing values
How can we make a code so that the MessageBox displays the value of a cell ( say C1), everytime it changes( from the old value) ? The value can be a text.Can anyone help ?
View ArticleRandom Sports Schedule Creator with 2 Divisions
I have 2 divisions of 7 teams each (TEAM 1A-7A & TEAM 1B-7B). TEAM 1A-7A must play each other once & 3 of 1B-7B (9 total games). TEAM 1B-7B must play each other once & 3 of 1A-7A (9 total...
View Articlereading pixes rgb values via vba
Is it even possible? If so, I guess one would have to use external libraries? And the last question: are there any books worth buying when it comes to using kernel, user32 etc functions? Walkenbachs...
View ArticleHow to do this Multiple variations of a string in cell A2 , A3, A4 , A5 and...
My Requirement is I have a String in A1 CHEMICAL, PETROCHEMICAL MECHANICAL AND METALURGICAL TRAINING CENTRE I want A2 : CHEMICALPMAMTC [string before the comma followed by all the First Letters without...
View ArticleCopy and Paste based on Red Highlighted Cells
In the attached spreadsheet, there is an example section and a solution section. I am trying to use the values in the example section to populate the solution section. For example, for loan 123 in A3...
View ArticleThe Final Step - Counts Based on Creteria
Greeting and Well Wishes, Need help on the last part of a report I am trying to do. The attached script has simplified my calculation process significantly. The post is available at:...
View ArticleConvert all numbers stored as text or custom formatted to numbers &no...
How can I convert all numbers stored as text or custom formatted to numbers with no decimals - across multiple columns on 40 spreadsheets in one workbook?
View ArticleEmail worksheet depending on date or cell value
I want to see if someone can help me with a macro to email the data in cells b1:f10 on the RICEMACT summary worksheet once a week, or if cells c10, d10,e10, or f10 reach 2000 hours. I have attached an...
View ArticleComplex problem involving moving rows and returning different values from...
Hello brilliant Excel users, I have a bit of a complex problem that I need some help with. I use Excel 2013 to track my inventory. Sometimes I purchase the same item for different prices. An example of...
View ArticleFactorial Function
Hello, I am creating a factorial function in VBA Excel for a calculator button. I am not allowed to use built in functions. The code that I am currently using is as follows:...
View ArticleExecuting a Command Bar Menu Item
I would like to execute the command bar menu item for "Save as...". I need the syntax for execution. I haven't worked with commandbars much at all. Thanks for your help.
View ArticleMerge Selected Workbooks
Hi, I got a Macro code to merge data from different Excel files from the forum. I was trying to modify Macro code to extract data from different cells from a file to destination file. I want data from...
View ArticleCode to print all word documents from a folder
Hi all, I'm looking for a code which will print all word document from two folders. Ex: I need all word documents being printed automatically from the below folders and if possible in the background...
View ArticleTwo Questions - Export data from form, but Always to the second top row....
Hi, can anyone please tell me the code for exporting data from the VBA Form to the Excel sheet, (2007) but every time , the second row should be updated, meaning, the one just below the column...
View Article[SOLVED] Comparing two distributions
Hi all, let's say that I have two distributions: Code: 1.4% 1.6% 2.4% 2.8% 3.5% 3.9% 4.0% 4.5% 4.2% 4.7% 3.9% 4.4% 3.5% 4.1% 2.8% 3.4% 2.9%...
View Article[SOLVED] Turn filter off on a specific sheet
I'm looking to create a macro to switch off an active filter on a specific page. The button for the macro will be placed on a different worksheet named "G and O Analysis", the active filter is open on...
View Articlevba #REF! error
Hi guys, I have got the following problem. I have a sheet "calculations" that uses references from another sheet "calendar". In the calculations sheet I have got formulas -...
View ArticleFind sum in column based on name in other column
Hi I have had this up under formulaes, but i have changed i prefer a macro to do it. In My test sheet i have 4 columns. In Column A is the country names and in column D the numbers I would like a macro...
View ArticleHow do I pass a variable and an array to another sub?
Hi all, quick question with hopefully a simple answer. I'm trying to pass a variable and an array from one sub to another. I've got the variable passed over ok, but I can't find out how to pass the...
View ArticleMacro to Repeat Rows at bottom of each Page
I am aware that we can repeat rows at Top of each Page, but i want the rows to repeat at bottom of each page. Please provide me the macro or the procedure to do so. Help will be highly appreciated....
View Article