Macro to transform formulas into values across multiple tabs
Hi everybody, I have never written a macro and when I record one I usually have trouble with the relative references. I am trying to write a macro to transform formulas into values every month. I want...
View ArticleVBA Code Needed
Hi there, I need VBA code to find the text "D19" in my sheet and put the below border around the entire row (columns "B:Q") where it's found. LineStyle = xlDouble .Color = -6279056 .TintAndShade = 0...
View ArticleCell conditional formatting
I have a cell G9 on my Excel worksheet that links to data on a hidden sheet. The data contains possible contract verbage options that are: AIP Standard Implant Pass Thru Implant Pass-Thru PPR No...
View ArticleSimple first unused row problem
I want a macro to look at Column A starting at the first row and when it finds the first cell that is empty delete the row where is found and also delete all rows in the entire workbook below it. It...
View Articlecopy rows from one sheet to another based formula results
Kind of difficult to explain, but I have a report that is run weekly that shows items that have been returned over the last 3 months. The report shows the original date of purchase and the return...
View ArticleAutofill contents - change position changes
Evening All. I have tried searching on site and googling but have been unable to find anything that i can understand and manipulate to my needs. My planned spreadsheet is every expanding and i am...
View ArticleOpening a pdf file after saving it as a pdf using VBA
In my macro, I was able to save the excel file as a pdf. But is there something I can add to the code to also automatically open that pdf file I just saved for verification purposes? Below is the code...
View ArticleShared File Causing 1004 Error
Hi, I'm wondering if anyone might know, why my code would hit a run time error on a shared file? It works fine unshared. This is on a ActivateSheet Worksheet Event, Code is housed in a Module and...
View Articleinput number in range
Hello With the inputbox I want to insert a numeric value to define a cell range, for example "C15:F15" This is the code i´m using: x = InputBox("Insert Row") Range("C(x):F(x)").Select Where (x)...
View ArticleLooping through each row
I'm trying to get this stupid loop to do something. Sorry it's such a lame question, but I don't really know what I'm doing here. I want to do the tasks listed in each row, go to the next row, do the...
View Article[SOLVED] Macro works in 2010&2013 but not Excel 2003
This macro works for Excel 2010 and 2013, but not Excel 2003. When I run it in Excel 2003 all the cells (up to row 456) gets filled with #NAMN? I'm trying to import data from the file called laget.xls...
View ArticleMonitoring Actions
Hi All, Is there any vb code or a macro to monitor the activities of the user to track all the actions what all he had done in a excel.
View ArticleData Validation - Change Event help needed.
Dear all, Regarding Data Validation. I have two columns of Data. See Grades and Names columns. Data Validation for Grades List and Names List I need your help to Code the following scenario: * If...
View ArticleVBA Code for Exporting Selected Columns in Excel to Notepad
Upon clicking a button, columns A -D will be copied to notepad. In the notepad, there should be additional items added on top of the values copied from Excel. Sample template of both excel and notepad...
View ArticleSet initial Userforml font size through Properties Window instead of code
Instead of coding it (like below), can you set it in the properties window for labels, buttons.. etc. Code: Sub OpenForm() UserForm1.Label2.Font.Size = 12 UserForm1.Show End Sub
View ArticleProblem while generating vloop in excel using vb 6.0
my actual code ws.Range("D5:D7").Value = "=VLOOKUP(RC[-1],TG!A:C,2,FALSE)" Output in Excel worksheet Cell Value D5 =VLOOKUP(C5,TG!A:D:D,2,FALSE) D6 =VLOOKUP(C6,TG!A:D:D,2,FALSE) D7...
View ArticleFind & Replace
Hi, Please have look on code. I need to do small task. From A2, replace all “1”s with “PMAH” and all others with “NON- PMAH”. Column has header that’s why I taken from A2. I am able to do with “1”...
View Article[SOLVED] Calculate Calls per hour
I receive call data daily and need to be able to calculate the number of calls per hour by center phone number. I have attached a sample report (Report tab) and want to enter the results on the CPH...
View ArticleSelect sheets in workbook then consolidate data
Hi friends, * I have a workbook, with different sheets (with sheet name as Home, RawData, Data1, Data2, Data3, ...), these sheets are not fixed * FYI... sheet (home) has a VBA code which on running...
View ArticleConsolidate Data withot Losing Other Columns
Hello, I am having trouble consolidating a worksheet by 2 columns but keeping the data in all the other columns once the consolidation is complete. I would like to write a code that tells excel to...
View Article