export data to compare with some countries information
Hello! I'm new here and not so expert, i hope this is the right section to post my question. :confused: I'll like to create an automatic sheet, that allow me for a product to define which country is...
View ArticleCalculation of years and months
Hi All I would like to know how to calculate diffrence between two dates. If in A1 and A2 we write two dates which are 25 months apart. Example : 14/07/2013 (today) in A1. 14/08/2015 (in b1). My...
View Articleimport data from text file into Excel (ADO)
Hello everyone! I would like to ask You for help. I want to import data from text file into sheet using SQL (ADO). If You click black button in Excel file, data from text file will be imported. Problem...
View ArticleMove column to another without blanks
Hey all, I need some help. I have 2 columns that look like the below: A B 1234 XXXX 6456 4657 XXXX 3456 4534 I need a macro that will move the values in the cells in column B into Column A to look like...
View ArticleMacro to read cell content in any order
Hi to all, Existing macro is Code: Sub highlightActive1()   Dim cs, ca As Range   Dim i As Integer   ' reset colour   Call cleansBorCol   For i = 1 To 2       For Each cs In Selection...
View ArticleMaking a time planning schedule
Hello! I am currently working on a time planning schedule (not sure if that's the word, english is not my native language) in excel, and think that a macro would be best for the functionality that I...
View ArticleRequired fields at BeforeClose
I have 10 columns and 5 are required fields. Right now I put all required fields if it check empty then pop-a message box. See code below Private Sub Workbook_BeforeClose(Cancel As Boolean) Dim a As...
View ArticleMacro Loop through all sheets
I have a macro that currently only runs on one sheet. I have about 50 sheets that I need this to run through in the same workbook. Any ideas on how to make it run all sheets? This is the macro: Sub...
View ArticleData Validation VBA- different formatted values
Sub Sumbit() Dim fac, bldg As String Dim EffDate, SoD, EoD As Date With ActiveSheet.Shapes("Drop Down 11").ControlFormat 'MsgBox "Item chosen = " & .List(.Value) fac = .List(.Value) End With With...
View Articlewhere is documentation for parsing responseXML?
I'm trying to figure out how to parse responseXML coming back from USPS so that I can do address validation. I know the response is coming back correctly because I can see the responseText. But I'd...
View ArticleValidation Lists - Multiple dependent lists with unique values
Hi there. Long time user of the forum and always found what I need, except this time, hence why i'm posting. NOTE: You'll likely have to look at the attached to understand what i'm aiming for I am...
View ArticleMacro To Loop From Last Row To Row 4
I have two sheets, "Database" and "TeamSheet". I need to get certain data from a team in "Database" and paste it into "TeamSheet". The criteria for this data is obtained from "TeamSheet", it looks up...
View ArticleHow do I send this variable to a text box?
Hello, Was hoping someone might be able to assist with this problem. My macro (thats attached) determines todays date, and looks in column A for the last date in the column, determines the amount of...
View ArticleDisable Insert/Delete, but allow Sort/Filter
Hi all, I have a worksheet that I have disabled the insert/delete functions, but the only issue is that it is protecting the sheet, so it does not allow users to do any changes. Is there any way to...
View ArticleSave As path
Hello, I am using the below macro and as I got some help on the forum about it, I am not capable of fully understand and make a little change.. I need adapt the macro to the following: I need to copy...
View Articlecopy cell value from one sheet to another sheet
Need worksheet_change VBA code .... whenever i write "Print" in column P of everysheet except worksheet " Slips" , the respective value of column B is copied and displayed in B16 column of worksheet...
View ArticleCleaning worksheet based on column input
Hi all, I'm new to this forum but I'm hoping someone here might be able to help me. I have a workbook that I am trying to clean up. Ideally, the selection of a region in Column A (denotated as green)...
View ArticleShow splash screen during ODBC data refresh
Hi, I have a workbook that is linked via ODBC to my SQL server. I would like to have a Splash Screen with a loading bar to appear on screen whilst a Data Refresh occurs. I would like the splash screen...
View ArticleAuto Sort line items based off of cell color
Creating a program specific task document. Doc. includes Task Type (Cell:A) , Assigned to (Cell:B), Due Date (Cell:C), Notes (Cell:D). I am color coding the WHOLE line to indicate the status of the...
View Articleneed macro to count the data based on dropdown input
hi all, i need a macro to count the number of planned leaves taken by a student in a month my input is as follow my output should be as follows... if i select planned from the drop down then in the...
View Article