Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50040 articles
Browse latest View live
↧

Call a Office.COMAddIn from VBA

Hi There, I have an addin that was created by an external vendor and I want to encorporate it into my user form when users click a button. I can connect to the office.COMAddIn but don't know how to...

View Article


Copy and Paste Range with Objects

Hi All, I'm trying to set up VB to copy Range with Objects but am unable to get any objects copied to a new worksheet. Hoping someone can guide me in the right direction. Here is the VB code that I'm...

View Article


Passing dynamic useform name

Hi guys, I've a program which creates a list of employee names and deposits this in a variety of forms as they're activated. I don't want to create duplicate code by stating a fixed name in the code,...

View Article

Copy multiple values from multiple worksheets from multiple workbooks - with...

Hi all, I was recommended this site to help with a problem I have, and after searching the site, i've found some good help/solutions for some of my problems - but this one specific is a bit unique....

View Article

Date-based VBA macro selects wrong cell.

I have a VBA macro in place which should go line by line and check one date against another to check for overdue information. If the first date is more than 30 prior to today's date a message box...

View Article


[SOLVED] Chart macro needs modification

Hi all, I recorded the following macro and assigned it to a button and it works but I need to find the right syntax instead of James! in the code. After couple hours of web searching I ended up with no...

View Article

Call in Variable File Directory and Filename from Cell into Save As Prompt

Hi Everyone, This is my first time posting in this forum (or any for that matter), but I have used the forum extensively and have really appreciated the value of the knowledge here. I really need some...

View Article

Clearing message boxes from screen as macro runs

As part of a macro I have several message boxes alerting the user and requesting information. These however persist on the screen rather than disappear when OK is selected making it frustrating to the...

View Article


How to check postal code format for user form text box

I'm hoping someone can help! I'm trying to create a data entry form using a userform. I've created a text box for Postal Code. In Canada, the format is A1A 1A1. I would like to validate that the person...

View Article


replace some text on a string in a cell

i have this string result from a query Quote: Camacho Mendoza MiguelAngel;#97;#Hernandez Ramos Felipe;#351;#Miguel Hernandez Nemesio;#87;#Garcia Reyes Sergio;#174;#Hernandez Tapia Ramon;#85;#Mendoza...

View Article

[SOLVED] fill data into cell from array

Dear All, I have array codes, thats store specific data from row and colomn. All already store in array but i can't fill it's to many row in other sheet. my codes only fill in one colomn Here are my...

View Article

How to trigger an "Exit For" command from a For Loop, when a cell in another...

Hi, I am brand-spanking new to VBA, and I have really been learning it from scratch over the past few days mostly using Google. I am trying to figure out how to write If/Then code to inspect the...

View Article

Export Excel data into form on website

Hi, I'm trying to build a macro that will take data/cells in Excel and import them into specific fields in a form on a company internal website. Can anyone help? Thanks, Jane:confused:

View Article


Image may be NSFW.
Clik here to view.

VLOOKUP and if duplicate fill 0

Hi, I have been trying to figure out without much luck how to create a vlookup and change the value to 0 if the field looked up is duplicate. I have 2 columns on sheet 1 and column B is where I am...

View Article

Image may be NSFW.
Clik here to view.

How to Make the Series in a plot vary in color that corresponds to its column...

I have 20 series of data in columns that are plotted. I would like the left most column to be a certain color and the right most column to be a certain color. The rest should make a color gradient. I...

View Article


Image may be NSFW.
Clik here to view.

Macro to Recognize Data Input Categories

Hi everyone, I am looking for a simple macro that will look down a variable length column (column C in the Data sheet in the attached workbook) and determine whether a "Y" should be entered into the...

View Article

VBA REQUEST or VOTE ????

I hope i am not breaking a forum rule here by doing this, but I would like to make a request. . . I am still learning VBA, but I started realizing most of what I have learned so far comes from a...

View Article


Is this a bug in WorksheetFunction.Dsum ?

I have found that the WorksheetFunction.DSum fails to work when the criteria block contains a condition on a date field. I have created a testcase using a toy data set of 10 rows and 5 fields. I...

View Article

[SOLVED] Find and replace multiple words

Hi all, I am new to VBA and I try to create macro which will find and replace multiple words from different sheets. Here is an example for better understanding In one workbook I have two sheets First...

View Article

Trouble with Selection.Interior and .PatternColorIndex

So here's my Macro. What I want it to do is Change the 5 cells I selected from blank drop-down menus to a bordered box, filled in yellow, with "CLOSED" written inside. Everything works, from data...

View Article
Browsing all 50040 articles
Browse latest View live