Random setup configuration code for vba
Hi All, I have a configuration problem for which i would like to know how I can pick a random setup, I will try to explain my problem the best I can and hope that somebody can help me, because I really...
View ArticleSimilar to Goalseek
I would like to find out how to make a function work that is similar to goalseek. I need to have B11 equal to C1 by changing cell D8. The function is listed in cell B11. At the same time, I need B12 to...
View ArticleMacro to look up another workbook and put value in a cell
Hi Im looking for help on how I can programme a macro to look up another workbook example workbook 1 (original ) workbook 2 ( The one with the info) If cells a1 , b1, c1, d1 = "yes" on workbook 2 it...
View Articlelistbox.height setup will not work unless code is interrupted
I have a bizarre problem (to me). I must interrupt my code in VBA in order for the code to run correctly. Either, by setting a breakpoint or inserting a msgbox. This has to do with setting the listbox...
View Articlefilling a combobox with a dynamic list
Hi, I have a combobox on sheet "selection", and the items I want to list in the combobox is on sheet "list" in a column starting at "A3" and going down. I have the following code for this: Private Sub...
View ArticleCalculating the Max Number and displaying Msg box
I have a random data. Now I want to calculate the Person who;s having maximum number of Cars. I am trying to write a vba code to do that . Attaching is the sample data Please help Thanks Anir Attached...
View ArticleProblem with relative reference when pasting formula from VB into Excel
I'm transferring data from a VB form into an Excel spreadsheet. Clicking OK on the form adds a new row to the spreadsheet containing the form data. Some of the spreadsheet cells, though, need to...
View ArticleTrying to change verbose looping code into more efficient (and shorter) code...
Hi All, Thank you for your input so far - it is appreciated. I am trying to turn a very long winded and verbose section of code (below) into something much more efficient and shorter. I am sure loops...
View ArticleExport Table to CSV (with code & workbook)
Hey Guys, I'm trying to export a table to a csv file Check out this screenshot: http://img685.imageshack.us/img685/4497/upperh.png So I'm just trying to export B2 through the last Row in D...
View ArticleFind dupicates in column, and delete entire row(s) containing duplicate(s)
Hi, I have a sheet with many columns, going from Column B to Column BA I need vba code to do the following (it needs to be code because it won't be me doing it, except for the first time, and the...
View Article[SOLVED] Format Cell borders
Hi, I searched the forum but wasn't able to find an answer to my specific needs on this. I need a macro to add a border to columns Q thru S. The macro needs to stop at the last used cell so that it...
View ArticleVBA Macro programming variable sized range.
Hi Group, I'm not sure how to describe my problem so I'll do my best to explain what I'm trying to find out how to do it. I have a range of numbers which consists of anywhere from 27000 rows to over...
View ArticleNeed advice - hot to count direction changes in value for a 24-h period?
Hi everybody! My first post here! I hope you can help me with my problem. I´m trying to count the amount of "reversals" (changes in the direction of the value-change) in a 24-h period. I need to be...
View ArticleAuto unhide/hide columns
Basically I will have 14 sheets, first 13 are marked '1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 & 13, and the last one is named 'Input'. Now in sheet 1 - cell C2 I will have the value of =Input!A2...
View ArticleHow to save Live Data in Excel
Hi guys hows it going? From the title of my question i'm sure a bunch of you would give me a solution from VBA; however, I am limited to only excel knowledge. I currently have a feed that gives me live...
View ArticleHow to use "CreateObject("WScript.Shell").Popup" in different workbooks at...
Hi XL-experts. I am new here and I hope you can give me a suitable solution. I am using the folowing code to show a timed message every 10 minutes. If the user wants to continue working, he must click...
View ArticleChange(ByVal Target As Range) does not work when Target value changes
I am trying to hide/show columns based ona calculated value in cell B3. When I change the value in B3 manually all goes fine, however if the value in B3 is a formula it doestnt work. What's wrong??...
View Article[SOLVED] Too Many Nested if and functions HELP
Guys, I'm new here and need some help with a thickness calculator i'm working on. I have 4000 if and functions per line in my worksheets there has got to be a better way as the file gets way to big. I...
View Articlefind value from one column on one sheet and copy data to another sheet
I have a master list of departments and coordinators. I will be creating a pivot table that will list departments by floor. I want to match up the coordinators from the List of Coordiantors and copy...
View ArticleExport/Copy a Text File to a Web Server
I can create a text file from data entered into a UserForm. However, I would then like to copy or export the file to a directory in a server I have on the web. I've tried various code snippets from...
View Article