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

Image may be NSFW.
Clik here to view.

Concatenate cells if same value - some issues with the code (sample sheet)

Hi everyone! I'm new here but it's amazing how helpful everybody seems to be. I have this issue with my code that I would really appreciate some help on. There are three main issues with the code: 1....

View Article


[SOLVED] Insert Call out with text

Hi Experts, I am trying to add a callout shape thru VBA. Below is the code which I have with the help of macro recorder, but it is not showing the text in the shape. Someone please look into it and it...

View Article


Image may be NSFW.
Clik here to view.

String characters with various colours

I have this code from another forum member which changes the colour of each character based on font and sequence. It works well for some strings but not for others. I've tested it for hours and still...

View Article

VBA Error '9' Subscript Out of Range

Hello, I have created a macro that copies data from a template and then opens the file on a shared drive, pastes the data on the next available row in said file, and then saves and closes the file and...

View Article

Speed up replace if matching criteria and append the rest

Hello everyone, It's good to be part of this community. I am hoping someone could help me with some guidance. I have 2 sheets with the exact format, 5 columns (Category1, Category2, Category3, Month,...

View Article


Image may be NSFW.
Clik here to view.

Run-time error 91 Object variable or With block variable not set

Error: see attached file. Let us say I have three modules (below), what is the problem? How to fix it? How to access CoWb from another module? Thanks. Code: Sub ProceError() COFile =...

View Article

Copy Sheet From Separate Instance of Excel

I'm trying to copy a sheet from two identically named workbooks. The only way i can think to do this is to open the file with the sheet to be copied in a separate instance of excel. but i can't get...

View Article

Lower Case Second Substring Only

Hello Forum, I was looking for a UDF or code which changes the second string only of a cell in a range to lower case. IE: "Id Est Americana 1776" to "Id est Americana 1776" I have found within the...

View Article


OLAP Cubes and Excel Write-Back

Dear Gents How can I create a special program to turn an Excel sheet into a bilateral operative dynamic sheet? What programming language(s) or tools do I need and need to learn to make custom OLAP...

View Article


Image may be NSFW.
Clik here to view.

"Autofill method of RangeClass failed" -- when I have en empty list! :(

I was making a code to filter/sort several sheets of data, and then apply formulas (in the H column and I column) to each (filtered) piece of data. When there is data that exists from the filtered...

View Article

Hey Excel Wizards! Need VBA ideas!

Hi - long time google-er. Now I need help with something I haven't found. I have an excel sheet, which is basically an income statement where we use the current amount to budget for next year. So,...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Conditional Formatting Glitch? Any ideas?

I'm using conditional formatting to determine which color to make the rows in the attached sheet. When I select the dropdown box in column F from yes, to no, the row should change from blue to yellow....

View Article

How to accomplish copying task

Background of Project: New to VBA, just created an excel file that has a form to input data about issues encountered with 6 comboboxes and a date box, which all goes to 6 respective columns on the...

View Article


Image may be NSFW.
Clik here to view.

Button Click: Generate Outlook Email, Include Data from Two Separate Columns...

Hello, I have a work sheet (Excel 2007) with a few buttons that generate emails based on certain cell values. When clicked they sort by a specific date in a column then by customer name. It uses the...

View Article

[SOLVED] Inconsistent complaint of "Type Mismatch"

I'm running a Macro that saves a file under a new file name on the click of a button. The new file name is decided by what the use types in to certain cells. I've been running with on multiple...

View Article


Auto save protected copy

I have a large workbook on my PC that remains unprotected as I am the only one to update it. I want to save a protected copy to a shared file (probably Dropbox) every time I update. I don't want...

View Article

VBA code to copy/paste rows conditionally based on cell value in column

Hello, I would like some help figuring out how to do the following: In one sheet I have 5 columns: Location, Item, Description, Qty, Unit Price. Sheet 1.png The objective is to comb through the...

View Article


Requery a combo box

Hello, I have a problem with a user form. There are two combo boxes, the second combo box list is populated with different values based on the selection on the first combo box. The problem is once...

View Article

If value exists in active row and column then need to start new row

Hello, I am having trouble with how to add if a cell has value in it then a new row needs to be started. Currently my code looks at a range in column A and finds the string then places a time stamp in...

View Article

Macro failing when Sheet1 was previously created and new sheets are Sheets2+

How do I modify that where the macro adds the sheet and then uses that sheet and completely disregards sheet names? Code: Attribute VB_Name = "Mailroom" Option Explicit Sub Mailroom() ' ' Macro1 Macro...

View Article
Browsing all 50186 articles
Browse latest View live