[SOLVED] Error handling (check if the cell is current week)
Hi, im doing an error handling to my project. I get some problems :/: On sheet 1 there is a table that is being downloaded in a scheme that You see. A) I need to check if a date in cell (28,14) -...
View Articlefacing error - subscript out of range - In allocating data in sheet name wise
hi guys, Need your hands to help me.......here im here having data in one sheet, at each row...i have given name of user. also i have created sheets for users. my code will , move the data in the...
View Article[SOLVED] Workaround to the 32767 character limit for strings in VBA?
Hi guys, I'm handling a website .responestext in excel, which is more than the 32767 character limit for strings in VBA. Is there a workaround to this, other then splitting the responsetext up in more...
View ArticleMacro to re-name a file to yesterday date in a specfic directory
Hi Mate, Excel noob here. I am trying that my macro to re-name a file which is on my desktop to yesterday's date i.e 'File 4-8-13' Macro which i record doesn't record this action. How can i make this...
View ArticleMacro code to copy excel sheet content to outlook mail
Hi Friends, Plz help me with the VBA code to copy excel content to outlook mail (body) I have attached a sample workbook for your reference. From the purchase sheet data to copied to the body of the...
View ArticleEnter Array formula with VBA
Hello all, I would like to enter the below formula as part of a macro: {=SUM(SUMIF('ORIGINAL DEBTORS'!D2:D30649,Gulf!A2:A213,'ORIGINAL DEBTORS'!BF2:BF30649))/1000} I have a list of clients, and a...
View ArticleSelection.ShowDetail - specific sheet
Can someone help me with the code below. So the selection.Showdetail will appear on a specific sheet everytime(FX "summary" and not a new sheet. Range("A5").Select Selection.ShowDetail = False
View ArticleCalculation error in VBA?
I have been working with this error in vba, and it is driving me nuts. Look at the following code: Code: Sub testCalc() Dim temp1 As Double Dim temp2 As Double Dim temp3 As Double Dim...
View ArticleFilter worksheet data using 4 dependant comboboxes and populate in 'ListBox'...
http://www.excelforum.com/excel-prog...-combobox.html Hi All, In the attached file, Given: 1) In 'Sheet1" my data are in Column A,B,C,D,E,F&G. On the userform, there are 4 'ComboBoxes' and 1...
View Article[SOLVED] Search Multiple columns for string, display matching results on...
Hey Guys, Ripped this code from another site, it runs fine with no errors but never finds any results. Tried tweaking it a couple of different ways to no avail. Anyone have any ideas how to get this to...
View ArticleHow to insert border around text in footer dynamically in excel?
Sample excel.xlsx Hi, I want to add a border around text in footer of excel after inserting the text in footer dynamically using VBA macro. I have attached the excel with this thread. In that excel i...
View ArticleAdd rows based on cell value
I am trying to add a certain number of rows to a table based on the value of B1. This is what I have so far: Code: Sub AddRows() Dim RowsToInsert As Range Dim LastRow As Long With...
View ArticleMacro for copy product end number from sheet 1 to sheet 2
Hi,Forum guru I want macro to copy End number of product from sheet 1 to sheet 2 and replace end digit ,if it is 0 then replace with 1, if 1 then it should replace it with 2. Macro should find the...
View ArticleSKU code generation from Workbook title
I am new to the forum and hope that I am posting this question in the correct location. I'm not very familiar with the Excel and I have never had to create a vlookup or do a macro and do not know much...
View ArticleVBA script (?) to look for data in accordance to few criteria, write them to...
Hi Guys. Here's the problem I have, but dunno what to start from. Got the spreadsheet with two sheets: "Data" and "Tables and Charts" (xlsx File Attached Book1.xlsx) What I need - some kind of macro or...
View ArticleInputbox vs. Application.InputBox
Code: Set ValueCell = Range("P1") Set Constraint = Range("P6") x = InputBox("Enter changing cells, for example: $P$10,$P$11", "Changing Cells", "$P$10,$P$11") SolverReset SolverOk...
View ArticleDisplay search results inluding results that match patrially
Just got some help to create this macro, but in addition to what I have here I'd like the search results to be displayed if the criteria matches part of the contents of a Cell. for example I might be...
View Articleun-highlight cells
So, ive got a sheet with a macro that runs on it and when its done, it leaves some columns highlighted in blue as if it hasnt had a new target. ive tried doing this: Code: For Each wSheet In Worksheets...
View ArticleRunning a macro over numerous sheets
The below code works great on one sheet, but how can I alter it so that it runs on Sheet1, Sheet2, Sheet3, Sheet4, Sheet5, Sheet6 and Sheet7. I know I could copy and paste the code 7 times and point it...
View ArticleProblem with a Chart when looping through sheets
As a new VBA person, I have searched all over the place for an answer, but I could really use some help. I have a macro I use when developing a new Workbook that sets all sheets up for easy use. I also...
View Article