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

Count columns and rows from a defined range

Hello, I would like to modify my code below to count columns and rows from a different range. Currently, the code below only reads from A1 of my data table. My data table starts at F7 with n columns...

View Article


Multiple Timer Running

Hello, I'm working on evaluating the time on different items, each time has to had a record longer than 20 min before I can release it, I pull the original time stamp from a data base and then I want...

View Article


[SOLVED] Need current Filename for macro application command

I made an ActiveX button to run a macro that alters more than solely the sheet it was created upon (I'm assuming that was the initial issue) it works great now, but the reference to run is set to the...

View Article

locking cells when populated along with a change event

Hi , I have one change event in sheet1 as follows Code: Private Sub Worksheet_change(ByVal Target As Range) Sheets("Sheet2").Unprotect "abcd" Sheets("Sheet1").Unprotect "abcd"   If Target.Column = 16...

View Article

How do I get a less than or equal symbol?

I am trying to code in a value for <=. I thought the value was ChrW(8804), that doesn't seem to work. Appreciate your help!

View Article


Input box, with answer put in cell

I have the following code so far so as the workbook is open it goes to a specifc sheet and asks user to type in id. I am trying to get the id box to put the answer in cell M3, if it can be put on...

View Article

[SOLVED] macros that count the number of cells (not solved yet)

I have sales revenues in column "A", however, its being separated by a blank row by region. Each time the sales revenue is being separated by region, I need to count how many cells above it. However, I...

View Article

Reference to combobox in VBA instead of defining a sheet

its probably best to start off giving the whole of the code i have atm so it gives an idea of what im doing and how ive implemented it in 'add' but now struggling with the 'find' part Code: Dim MyData...

View Article


Selecting Multiple Cells using VBA in Excel 2013

I thought this made sense, but I'm the only one that thinks so... What is a way to code this so that it works? Code: Range(Cells(N + 1, 8), Cells(N + 1, 9), Cells(N + 1, 10), Cells(N + 1, 11), Cells(N...

View Article


Trying to Update Userform Label with worksheet cells

I am trying to copy the text I created in the worksheet cells to the Userform and have it automatically update every time to the cells text changes in the worksheet. I can get it to work if I use the...

View Article

array driven prospecting data management

Objective: Fast, User friendly interface, Elegant retrieval of data related to prospects. I decided to use arrays instead of cell formulas or other copy paste methods in macros. This needs to run light...

View Article

Image may be NSFW.
Clik here to view.

Move Unique records and Duplicates in separate sheets

Hi, I have a large file of 55,000 rows and in Column D i have duplicate records which i want to separate it from the unique records. I need a create 2 sheets one of uniques & duplicates records....

View Article

Printing a spreaadsheet using VBA

I tried to use a macro to do this and edited the following line which is where it is failing. N is the last row that I want to print... Code: ActiveSheet.PageSetup.PrintArea = Range(Cells(1, 1),...

View Article


Cascading Format

I want C15 to be highlighted red if a) C14 is not equal to zero, and b) C15 remains equal to zero. Then, I want C16 to be highlighted red if a) C15 is not equal to zero, and b) C16 remains equal to...

View Article

How do I ammend this code to get the userform to add a comment?

Hi Folks, I've decided to add a comment section to my userform (well tried anyway) but I cant get it to work properly. I would like the comment to appear in the description field when adding a new...

View Article


Image may be NSFW.
Clik here to view.

title a the bottom of the screen

Hi Everyone I am looking at putting a line of text at the bottom of the screen i.e. created by Michael Fairhurst. I have done this before in excel 2003 and I am wondering how to do it in excel 2010....

View Article

Image may be NSFW.
Clik here to view.

placing a title at the bottom of the screen

Hi Everyone In excel 2003 I know you could put a title at the bottom of the screen i.e. created by Michael Fairhurst (see attachment for the location of this). If I remember correctly this was done via...

View Article


[SOLVED] Excel 2007 crashes upon saving

Hello all, I have been programming with VBA on Excel 2007 for fun for some time. I was looking around at my code, clicked the save button, and then closed the "view macro" box. Out of the blue, excel...

View Article

Sort Table Descending

Hello all, I got data from column A to CH I'd like to sort the table by sorting column F descending. Any ideas?

View Article

[SOLVED] Macro for tracking inventory

Hello! I'm the manager for a coffee house and lounge and I'm trying to create a macro to help us keep track of inventory. This is what the inventory spreadsheet looks like: Untitled.jpg What I would...

View Article
Browsing all 50057 articles
Browse latest View live