Insert tomorrow's date unless Friday. If Friday, insert Monday's date.
The title pretty much explains it. A spreadsheet I use daily requires me to put a despatch date. The despatch date is always the next working day, for example - if it's monday, despatch date will be...
View ArticleForecast KIT splitting based on BOM list
Hi All, I'm not familiar with Excel VBA macros... I have a forecast sheet (Sheet1) and a BOM list other sheet (Sheet2). The forecast sheet contains the item codes in the first (A) column and the...
View ArticleSplitting text in single cell to two cells
Hi, I am looking for a macro where I can split text in a single cell into 2 cells. For example, in "A1" I have "19021.151LB Starfish/Duck T/Th Set 1". I need to split "19021.151" into one cell and...
View ArticleRun time error 1004 Applicatin-defined or object-defined error (Copy from...
Hi Guys, I am new to Excel VBA. I have got a situation where i need your help. I have a source file and a destination file. Basically what i have to do is copy some cols from source file to destination...
View ArticleFootnote using VBA
Hi, can anyone help. i want to insert a footnote using VBA and if possible i want to protect it so that it can't be removed.
View ArticleData Type Mismatch in Criteria Expression
Hello, I've set up an ADODB.Connection object in a macro to retrieve information from a database. Running a simple query I have tested the code and retrieved sample information - so I know the link to...
View Articleselecting data from excel and using results
Hello, Sorry to ask propably a quite easy question, but it has been a long time since i worked with VBA Does anyone know how to select find a text in a column and then add the values that go with it in...
View ArticleGrouping and counting based on several criteria
excel forum.xlsx Hi This is probably the most complex problem I've posted so far. When I query for a report from the internal database, I like to do a count on a set of objects, and group them on a set...
View ArticleHelp on listview data from worksheet
Hi All, I am actually using these codes below to fetch data from a worksheet and display in a listview : Code: Dim itmX As ListItem Dim WkbQbook As Workbook Dim WkSQSheet As Worksheet If...
View ArticleHow to make this macro run faster ?
Hi, I get data from an application to excel. This data is then sent to another application (amibroker) using a macro.This happens in following steps:- 1. From first application data is being sent to...
View Article[SOLVED] How to remove item from array
I am trying to populate a ComboBox list based on a range in a worksheet. What I am trying to do is create and array from that range. I then want to loop through that array and remove any elements that...
View ArticleMoving entire row to another worksheet if a certain word is enter into a...
Sheet One titled "Active Tests" has columns as follows: Vendor (A) Bid # (B) item description (C) Using Dept (D) Random/Issue (E) start date (F) finish date (G) pass/fail (H) completed (I) When the...
View ArticleIf Cell in column = "Y" then with offset (0, 1).value match to sheet range...
So I have seen a lot of code that gets me close, then I manage to not get where I'm trying to. I usually butcher it. so here it goes... In Sheet ("Counter Sheet").Range("B15:B2000") one cell will have...
View ArticlePulling cell values into text boxes in a userform upon selecting a certain...
Hi, In general, the 'sheet' illustrated below possesses five columns: Name, Colour and Varied Scores; ...A ......B .....C ...D ...E James .Blue ....5 ...6 ...8 Brian ..Blue ....3 ...9 ...7 Tim...
View ArticleCopy cells from one row to another sheet
I have a combobox form control on each row in sheet 1. When the user selects the combobox I would like to prompt the user and if they select'yes' I would like to automatically copy column C, E and M...
View ArticleFill cells determined by Time Value selection w/user form
Hi everyone, I use a spreadsheet to check my staff's time cards. I use a grid with dates in the top row and the time by 30 minute increments in the first column(actually second column (B) but it is the...
View ArticleMacro to Open Files from Cell Range, Save in Target WB with Corresponding...
Hi Gurus, I am a newbie to VBA and excel macro, so please help me out as I am trying out to get the following done. I have a source file that has a macro that will extracted the path and filename of a...
View ArticleList box macro
hi, I have a macro, Code: Sub Add_Drop_Down_Menu_Selection() With Selection.Validation .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, _ Formula1:="=$C$1:$C$39"...
View ArticleSpecial user form
How I could create user form if its needful some boxes can fill by user and some numbers (results) will be presentated as locked number and the graph changes on same time, depends what kind dimensions...
View ArticleHALP! Count and Insert Rows and Specific Data on Another Sheet.
Example.xlsx I wanted to count how many rows of data there are in a sheet. Insert the counted rows in another sheet but with specific data. Well, I got the CountA Function to work to count how many...
View Article