Add "auto complete" macro
Is there a way to add auto complete to this Macro so that when a usue starts typing in a cell in column A it auto completes Thank you Code: Sub CreateDV() Dim rng As Range Dim cell As Range Dim lRow...
View ArticleActiveX OptionButtons VBA
Hello group, First post! I am looking for a way to use 2 optionbuttons in vba. The option buttons are in different groups, and are independent. I cannot get this to work. Is this even possible? In...
View ArticleLinking worksheets to external database
Hi All I have posted this earlier but although 84 people read it nobody seemed to have a solution for me. I am trying to link a worksheet to a MySQL table using odbc. As I change the value in a cell...
View ArticleFill in dates based on a date range in 2 cells
Hi everyone! I'm just new here so please pardon me if I'm not doing this correctly. I'm trying my hand at VBA and I need help with a simple problem. I have start and end dates in Sheet1 A1 = 3/17/2014...
View ArticleIf each cell in range equals 0 then clear contents of range and move to the...
Hi All, I am quite new to Macro's and am having issues with working out the best way to go about this issue. We have an external program that exports data which we need to manipulate for reporting...
View Articleunable to retain HTML when inserting placeholders into Outlook Meeting...
My Excel VBA code opens an Outlook Mail Message template (.oft) and inserts cell data into the Subject, Body, etc. via placeholders. It works great. The same code is able to open an Outlook Meeting...
View ArticleVBA to click on 'Continue' button on webpage
Hello all I want to use VBA to click on a button called continue on a webpage but I can figure out how to do it despite a lot of searching and trial and error. The source code which refers to the...
View ArticleCorrect postioning of an Active X button on a worksheet
Hi, I've written code to delete an ActiveX button off a worksheet and then re-create it, repositioning it dependent on the amount of the data. I do this by calculating the row height * no rows of data...
View ArticleHow To and What... code to enter into VisuaBasic Module to highlight active...
Good Afternoon! I am working on Excel 2007... and I have approximately 2,000+ rows of data. I've been looking around for a way to have the row/column highlighted yellow of the cell I'm currently...
View ArticleDate Result
Hi Guys, I have a question i have date in column B "IGR-02282014-10385", the bold ones is the date. Now what i want is to add the 40 days in that date and then in one column it will tell me from 40...
View ArticleVBA - Pivot Table Cache with and without Named Range - If not is nothing or...
I am working on an Add-in that will allow the user to quickly create multiple pivot tables. I want to add the option for them to define a Named Range and then set the Pivot Table Cache to that Named...
View Article[SOLVED] Using "Cells(n, 9)" inside Range("I3:I20")
I tried to replace this: Code: Range("I3:I20") for this: Code: Range("Cells(3, 9):Cells(n, 9)") In this case n=20, but I want it to be a variable. The way I did it went wrong. Which is the correct...
View ArticleMacro code needed for combination of (If,Countif,vlookup)
I am creating multiple macro function workbook. Below formula is required for full fill my macro. Please provide Macro VB code for below Excel formula This formula is populate in sheet name "Worksheet...
View ArticleConverting VBA language referencing LotusNotes to language referencing Outlook
Hello. I need some help from some VBA experts. Ideally what I'm trying to do is replace the commands for LotusNotes with commands for Outlook. For privacy reasons, I've redacted some of the...
View ArticleConverting an array to a delimited string
Hello all, I have an array that is created from column values. I want to convert the array into a delimited string. Below is the code I have which is not working when the Join function is called. Any...
View ArticleReplicating a Linked Excel worksheet
Greetings! I have this excel template which i am working on and its a bit kind of complex linking several sheets together. My problem now is in the Junior STUDENTS INPUT.xls the 2nd term report has to...
View ArticleCells with a column defined by variable
Hi, I am using code as below in order to define column as a variable. While it works with defining the row pretty well it fails with the column despite the same method. with the code below: Dim wiersz...
View ArticleHow to show Items marked with "hide" in the PageField dialog
Does anyone know how to distinguish items that have been specifially marked with the "Hide" option in the PageField dialog? I mean no PageFields selected (or not) form the drop-down Page field, but...
View ArticleHow to join two different ranges and make it one range of cells
Hello, I am trying to join two different ranges to make one range of cells. To refer to range ("A4:A90") is pretty straight forward; however i am having a challenge referring to two different range to...
View ArticleNeed Help with Error Message
Code: 'Displays Material Lot/Batch Number Error Message Private Sub txtMatlLtNum_Exit(ByVal Cancel As MSForms.ReturnBoolean) If Not IsNumeric(txtMatlLtNum.Value) Then MsgBox "Please enter...
View Article