Linking two of the same data validation lists on two separate sheets
Hi, this is my first post and I am struggling to find a way to link 2 of the exact same data validation lists on two seperate worksheets. For example worksheet one has data and figures for specific...
View ArticleConcatination of a list.
Hi All, I have a list of 20 three digit codes. I need to produce a macro to combine each one of these codes with two more three digit codes (these can be 3 of the same code) to end with a 9 digit...
View ArticleProcess improvement help/advice please?
Hi, A bit new to this but was wondering if anyone could recommend how I can improve something I currently do in Excel (all suggestions welcomed :)). I run a small gas business and every Morning I have...
View Article[SOLVED] Specify sheets to protect using userinterface
Hi Is there a way i can modify the code below so a specific worksheet in my workbook remains unprotected? Code: Private Sub Workbook_Open() Dim wSheet As Worksheet For Each wSheet In Worksheets...
View ArticleFind and copy to other worksheet if not find something else.
Hello guys, What I need to do is to find CP1 in a determined column, if it does, copy the cell and paste it into other file (Dabase.xlsm), if not it should look for CP2 until CP4. If doent find any of...
View ArticleRemoving Duplicates
Hi, I am looking at 3 columns A B and C A is Item B is region and C is revenue An item will sell in multiple locations Say I have Data from A2 to C1000 I want to sort C by largest to smallest and take...
View ArticleSend to Stationary in Lotus Notes
Hi All, I was wondering if it is possible to save and send an excel book to an established stationary in lotus notes upon save, instead of just 'save and send' using the 'send using email' button? That...
View ArticleCommand Button outside of the sheet
Hi, Is it possible to have a Command button outside of the excel sheet? So, excel is minimized and a command button is shown on the screen or desktop. When I click on this button it then runs my code....
View Articlecasading filterd data
OK not even sure how explain this what I want to do is populate a spreadsheet with data see attached example now I want to create a another spreadsheet which will be my printed form at one cell I want...
View ArticleSelect range of multiple cells with variable row number
Hi Short question is: I need to select cells Q(x) to S(x) within a macro. Background is - Within a macro that runs down a list of data, (x = rows 1-100) checking an IF statement, and if true, pulling...
View ArticleExtracting data from a sheet
I have an Excel sheet containing multiple components in database format. <date begin><date_end><Station><Component><Value><Validation><Status1><Status2>...
View ArticleWhen are External Connections not QueryTables?
Hello All, Some background: I've been using a perl script(not that it matters much since it's just calling the same DLLs :)) for a number of years to auto-magically refresh QueryTables in Excel...
View ArticleRun time error
I am new to macros and I keep getting the following errors Run time error 9 Run time error 1004 Workbook is locked by another user Please see the attached workbook. This is a shared document. It is...
View ArticleRunning Several Macros One after another
Hey all, So I have created a macro, that runs a series of other macros. Please see here the code: Code: Sub RunDividendUpdate() Dim Msg As String Sheets("Dividends").Select If...
View ArticleExtracting certain data from macro file
Hi All, I have attached one macro file in which my users are adding some data related to our work. I want another macro file which will automatically extract all the data's in which there is query...
View ArticleReading chart attributes in VBA for a spreadsheet documenter tool
I often get complex spreadsheets to amend and extend. As they were written in haste by others, the big task is understanding them. I wrote a reporter that gets most attributes from most objects; this...
View Articleinputbox query
Hello Guys, Any ideas why the code below does not work. I am moving emails into different folders of outlook and before that there is an inputbox that pops up. I want to stop the operation when I click...
View ArticleMaking a 3 character string using a random selection of file name characters?
Hey, I'm trying to make a 3 character random string using every letter, symbol and character able to go into a text file so Essentially I want the following... Code: Dim randString as String randString...
View ArticleUser defined function not updating properly - where to put application.volatile?
Hi everyone I'm using this custom function: Code: Function Concat(r As Range) As String Application.Volatile Dim av As Variant Dim v As Variant av = Intersect(r,...
View ArticleAdd borders to row if first cell meets condition
Hi all, I have a sheet where I need to put borders around certain cells, based on the cells in column A. What I basically need is a top-border for each cell in column A where the value is bold, this...
View Article