Deleting formula and replacing with value
So working with accounting I'm trying to work out a code that would freeze a cells value that had a formula in it. Here's an example: Person A started off at $100 salary so the forecast for future...
View ArticleVBA to save as macro free workbook?
Hello, Does anyone have suggestions on how to overwrite/not prompt for the macro-free workbook message: the following features cannot be saved in macro-free workbooks: *vb project To continue saving as...
View ArticleVBA DoEvents function 'magic'
I found that there is a lot of confusion on the Internet about the VBA DoEvents function and its use thereof in the control of long, endless or at risk of being out of control loops. As such, I wrote a...
View ArticleHow do I store the current date to a variable and compare it to cells that...
Here is the current macro I am working with.: Code: Sub MySub()   Dim strColumn As String   Dim currentRow As Integer   Dim todayDate As Date   Dim ws As Worksheet     Set ws =...
View ArticleWhy is this not getting the last row of the first/fixed column?
Here is the current macro I am working with.: Code: Sub MySub()   Dim strColumn As String   Dim currentRow As Integer   Dim todayDate As Date   Dim ws As Worksheet     Set ws =...
View ArticleCalculating differences between cell contents 'by blocks'
Hello everyone, I have a little problem with a macro somebody here might be able to help me with. Unfortunately the upload function doesn't seem to work for me so I'll have to describe the sheet. It...
View ArticleReset dependant validation list when the previous validation list is changed.
Hello! This is my first post on this forum so I hope that it'll be comprehensible. ;) Quite recently, I've made a spreadsheet with four dependant validation lists (the lists are in the following cells:...
View ArticlePerforming Multiple Commands in a single macro (Macro novice here!)
Capture2.PNG Above is an example of an Excel spreadsheet I have that controls and lists my current progress on a number of shows I watch. I would like to make my life simpler and create macros/buttons...
View Article[SOLVED] Correcting Ambiguous name detected
Hello I am new to macros, and usally get help from someone that dose these alot... But today she is um... any way I am trying to use a macro to Check put a check box in a field, I need to do this at...
View ArticleUsing Lookup in VBA
Hi, I am working on a VBA Script and am trying to create a report. In this report I need to use a lookup to pull data from another workbook into my current one. The Macro code is: Code:...
View ArticleHow to get addresses of top 5 values in 2D table, even with duplicates?
I hope this question is in the right forum. I have a 2D table (8 columns, 250-some rows) and I need to find the addresses of the MAX, LARGE(2), LARGE (3), etc. values for a total of 5 values. Some of...
View Articlemacro to retain the conditional formatting result but to remove the rules behind
hi, I'm enhancing my report which using a lot of conditional formatting (CF) rules and it causes increasing in the file size and slowness in opening the file. i found a code, but it always read the CF...
View ArticleI want to know to create a Form for automatic updation of rows in a sheet
Dear Sir I am using Excel 2007 ver. I want to know how to create a Form for entry of fields in an excel sheet. For example Column-1 Name, Column-2 Emp No., Column-3 Date of Birth. A new employee...
View ArticleDelete cells in a column between cells that have key words in them.
I am copying data from a web site to creat a excel data base. Sometimes the data will populate 8 rows and other times 9 rows. I have formulas set up to parse the strings. I need a macro that will...
View ArticleInsert row above particular Cell Value and add formula in inserted row
I am a beginner in macro and want to create one macro for my financial work sheet I have P & L spreadsheet where I have to insert line below particular financial sub total accounting head and to...
View ArticleMoving data between two workbook with one a variable name
Hello. I am trying to marry up MLS and tax data. I have the formulas to do that based on a common denominator, but the data sets are in two workbooks. The MLS data is always in the same named wb, but...
View ArticleScan rows for duplicate column values, then add rows together and delete...
SampleWS.xlsx Here is a sample worksheet. In column H, there will be duplicate values (names) where a customer ordered multiple items in one order OR placed multiple separate orders. I want to add the...
View ArticleMoving data between two workbook with one a variable name
Hello. I am trying to marry up MLS and tax data. I have the formulas to do that based on a common denominator, but the data sets are in two workbooks. The MLS data is always in the same named wb, but...
View ArticleVBA To Change Shape Outline
I am trying to place ovals(SHAPES) around words on excel. What I would like to do is make the outline toggle when clicking in the shape, I have found codes that work great for toggling the inner shape...
View ArticleToggle Shape Line Color VBA
I would like to put an oval in my form, and toggle the line color from black to no color, when the shape is clicked on. I have found a great macro for changing the shapes interal color, but cannot get...
View Article