odbcconnection error handle
Hi I already search the forum and in google but I cannot find any way to handle with the network error messages when i tried to update my table. It will work well if I have connection to the server....
View ArticleDelete specific columns and sheet
Hi Friends, I was wondering if somebody could help me out with a VBA code that could delete specific columns and all the sheets except one from all the files in a folder. For example I have a folder...
View Articledescriminate string(letters) values from integer/long (number) values
I need an if statement that can recognize a string (letter/alphabet) values from integer / long (number) values.. Thus if the cell in a column has a number on it, it will flash a msgbox that there's a...
View ArticleLock the size at a CommandButton
I start a Head Menu with a CommandButton, placed directly at the sheet. I jump through a lot of tabs, using the Head Menu and a copy of the button is at all sheets. The sheets are protected, except the...
View ArticleMacro For Creating Organisation Chart
Hai All I need i macro which will automatically draw a organistaion Chart based on the Values in Sheet1.
View ArticleRunning Macro on multiple sheets
Dear Experts, I have a set of few macros and a master macro to run all of them this cleans up the data file provided to me by some other department. I run this file and get the desired results. What I...
View ArticleFind the required column
Hello Everybody, I want to find the column using excel vba. The example is shown in the attached workbook. Attached Files findcolumn.xls‎ (23.5 KB)
View Article[SOLVED] VBA code for excluding weekend dates from Web import into Excel
I have adapted the code below from another thread on this forum to extract web data into excel. I would like further advice on how to incorporate a month and year variable to exclude weekend dates. I...
View ArticleAdding dates & who added the macro in VBA code
Hi I am pretty new to macros and vba, (just to warn my teachers) I have come across a customer who using macros to add info details for DR's and clients, there are 2 peopel using the macros, they are...
View ArticleHighlighting value if appears in 3 adjacent columns (across different rows)
Hi there Please forgive me if this is the wrong subforum, I’m not sure if my problem can be solved with a formula/conditional formatting or whether it will require some VBA. I’m completely new to...
View Article[SOLVED] unable to change range in code
hi guys, the code below sends an email to a fixed recipient when a date has passed (column L) and another cell is blank (column M), however, it sends an email for every row on the table, i need just...
View Articleoption button code
hi has anyone got a code for 2 simple option buttons have looked through forums and tried a few options [if optionbutton1=true then optionbutton2 =false end if and if optionbutton1 =true then...
View ArticleExcel Range to New Notepad
Dear Friends, HOw can i send some range which i copied from excel to a New Notepad.. Please help i was trying to do is Code: Range(Range("UpdateCopy").Value).Copy Shell "Notepad.exe", vbNormalFocus...
View ArticleLoop macro to grab all data (Row 15 down) from multiple tabs and paste in...
Hi All, Hoping you can help with a data mining code for a spread sheet I have that holds many tabbed sheets, each that have a standard format that includes the first 15 rows as a header and row data...
View ArticleSelecting multiple activecells in a variable row
Hello, I have a problem with my current macro. I would like to select some cells in one of the activesheet then copy it - so like C4, C7, C9 - but the cells are not the same - the row can change every...
View ArticleMacro to move a file with a changing name
I have a macro that checks to see if a file is present and if it is then it moves it to another location and saves it with the relevant date at the end. At the moment I have set the file that...
View ArticleSelect multiple criteria based on check box selection and return all unique...
Hi, I am trying to create a searchable database so that the user can select a series of check boxes and when they click search it looks at another sheet and returns the corresponding locations. Note:...
View ArticleNeed Help with Search Macro
Hey Guys, Need some quick help if possible. Need to get this code to just run on the second and third sheet in my workbook. Code: Sub myLogedFindAll() 'Standard module code, like: Module1. Dim ws As...
View ArticleHyperlinks copied from Excel per VBA won't work properly
Hi there, I have an excel file with many hyperlinks and until now I always had to copy and paste the range manually into a mail and send it. Now I tried to get a macro working, which basically does the...
View Article[SOLVED] Run macro on double click - several macros on one worksheet
Hi, I am fairly new at this so would appreciate any advice! I have several macros written that open other workbooks. I have a "front page" worksheet with a list of these workbooks. I would like to be...
View Article