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

[SOLVED] Variable not defined error

Hi, I copied code from another sheet into my own and I keep getting a variable not defined on "Listbox1" I'm not sure why. Can someone help me? Here is the code: Code: Option Explicit Dim rg As Range...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Copy and Pasting Data in Columns Based on Criteria

Hello there, I need help with regard to creating a macro to copy and paste data from one Sheet to another based on Criteria. In Sheet1, I have Animals in Column A, The Status in Column B and the Tamer...

View Article


Combobox Left Align Text that's too long to fit into cell

I'm still learning the basics of VBA. How can I left align (activex) combobox text that's too long to fit into a cell? When user picks the choice from the dropdown, I would like them to see the whole...

View Article

Image may be NSFW.
Clik here to view.

Clear cell when Value of cell that is not target changes.

I have 2 list: Names1 Names2 The value of G:G will change which list is displayed in D on the same row. However not every change that occurs in G:G will require D on the same row to be cleared. For...

View Article

Script to remove final carriage return from Excel csv export

I believe that this is a known issue with Excel exporting of csv files in that a final carriage return in always added. I need to remove this final CR before it can be used with an API to import the...

View Article


[SOLVED] combo box code help

this is the code im trying to use if me.namebox.Value = sheet3.Cell.b1 then me.brix.Value = range.("brix") cheers

View Article

VBA: Using "

Hello, tried few variations to include "<=" symbol in ( Rngdate ) the following function..but could not succeed. Can someone assist please.. ( the below code works perfectly but it is comparing for...

View Article

commandbutton to bring up row having today's date and highlight it

Hi I am using following code to achieve it. This works fine, however has two issues: 1 It continues to highlight previously highlighted cells .e.g. If today's date is 08 Jul, then it also highlights,...

View Article


Userform:How to add two TextBox values.

Hello EveryOne! In my UserForm I am trying to add 2 TextBoxes... When ComboBox changes the "TextBoxMonthlyFee" automatically shows comboBox value.Which is Fine. I want to add "TextBoxMonthlyFee" and...

View Article


How to search in the current workbook

Hi all, I am looking for a way to have a macro look in the current workbook (not a specific one, but the one that is open at the moment) to look for values that aren't in another workbook. I have the...

View Article

Image may be NSFW.
Clik here to view.

Macro to filter and sort by multiple categories & Send to correct sheet

Hello all, I have a mock-up of a sheet I regularly use attached. What I cannot seem to achieve in a formula is this: 1. I pull the data from a program 2. paste all data pulled into the 'data pull'...

View Article

Macro to fill down while looking at adjacent col

Gday Long time reader, first time poster. Im working on a file with requires unique numbers placed in adjacent cells for a series, then repeat this for the next series below with more unique numbers. I...

View Article

Image may be NSFW.
Clik here to view.

Present Value fo Cash Flow Calculation Macro

Hello there, Please help me create a macro that calculates the present value of cash flows based on the dates of the cash flows and the maturity date of the instrument. I have absolutely no idea about...

View Article


Copying only the merges over from a table

I'm trying to write a macro that copies over the merge-formatting of a table into several adjacent columns. I.e., I want to copy a column from a table and do a 'paste formatting' except NOT paste any...

View Article

Image may be NSFW.
Clik here to view.

Using Excel to create an CSV export - help for a non-profit..

Friends, I am looking for some help to take a 4000+ row Excel spreadsheet and turn it into a CSV export tool. Here is the situation. I would like to have a search box that would allow me to search for...

View Article


Printing a running date

Hello All! I would like to create a macro that can print multiple dates on the same spreadsheet. The desired output would look like this: Copy 1 - Date: 7/8/13 Copy 2 - Date: 7/9/13 Copy 3 - Date:...

View Article

Macro to automatically email parents

Hello all, I am a teacher and I wanted to set up a spreadsheet that will automatically email parents when I enter a test grade for their child. I think it would be a simple spreadsheet. In column A I...

View Article


Blank cells causing errors in Chart display

Hi Guys, I have a Marco that creates a scatter graph. The data for the graph has dynamic ranges and columns. The Macro works fine if all the cells have data in them but if there are blanks cells in one...

View Article

Inputbox error message. Formula you typed contains an error.

I have procedure that prompts the user to input a date into an input box. The issue is if the user clicks 'OK' without entering any data into the input box, the user receives popup message of "Formula...

View Article

Replace specific part of formula in a cell through VBA

I have a formula in a cell and I want to use VBA to replace specific parts of that formula. For instance: =IF($C$55>(M26*$N$25),0,(M26*$N$25)-$C$55) I want the Macro to find $C$55 in both instances...

View Article
Browsing all 50040 articles
Browse latest View live