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

VB Macro help - formula for 45000 lines..

Dear All, I have a VB coding to execute the formulas for three columns for 45000 line items but when i execute this function the system is getting hanged due to huge line items. Kindly look into this...

View Article


Delete row if "cell.Value" equals a cell in a range

Hi all, long time reader, first time poster. I have the code below (not mine but it runs/works fine) that basically deletes a row in a sheet if a cell in that row equals a specific value (in this case,...

View Article


limit number of cells

Hello Is there a way to limit the total number of cells in a given row that a user can edit? I don't want the user to be able to fill more than any 2 cells for a given row. Thank you for your help...

View Article

Image may be NSFW.
Clik here to view.

Need Macro for Transporting Data from "Comment" column to MasterSheet!

Hi there, I am currently working with an Excel Workbook with many differenet Sheets, each Sheet holdding different information. In each of these sheets is a column labeled "Comments". I am looking to...

View Article

Changing a part of a formula using VBA coding

Hi, I have the following formula =VLOOKUP(B4,$B$218:$AA£269,18,FALSE), I was just wondering, using VBA code, can the col_index_num be increased by 1 every time a you click on a macro button? Please can...

View Article


Macro running other macros does not fully execute

Hello, I am attempting to run a macro which executes a couple of different macros in each of a bunch of worksheets in one workbook. It repeats the below for Sheet1, Sheet2, etc. Code:...

View Article

How to read Chart Data source

Hi folks. I am trying to determine how to read the source data range for a specific curve on an existing Excel X-y scatter chart. I know how to reference the chart and the seriescollection element, but...

View Article

Copy columns with given title into a new sheet

I am new to macro and need your help to develop a macro. So I want to copy all the columns with specific column title into a new excel sheet. Suppose if the there are multiple columns with title as...

View Article


Trying to add additional data into a specific row of a table depending on row...

A poor description in my title so i'll try and explain, I've attached a sample workbook showing what I need help with I use a macro in Sheet1 to input data into a table in Sheet2 I'm then recalling...

View Article


Search multiple worksheets for matching cell value and return cell location...

I've been searching for a way to do this, and I apologize if a duplicate solved thread is already on here. I have run out of brain cells on search keywords. I have a 9-worksheet workbook. On a "master"...

View Article

How to copy Specefic data from Sheet1 to Sheet2 if conditions met.

Hello, I have 2 WorkSheets (Sheet1 & Sheet2 ) Sheet1 is my main sheet where all data is stored first. Sheet2 is where specific data is copied from Sheet1 if conditions met. In Sheet1 there are 4...

View Article

Choosing chart range.

Hi! I am creating a chart and I want the user to be able to select the data range rows before a chart is automatically created. It would be better if the user didn't have to go into VBA to change the...

View Article

VBA: Using Evaluate / Countifs Combination to Compare Dates

Hello, the below code works fine. But this checks for matching date and i would like to use "<=" in this function to compare Date. Code: Resvalue = Evaluate("=countifs(Empname,""" & RngEmpName...

View Article


Create a bill with macro

Hi All, I'm really bad with all VBA stuff, hope you can help me. I'm trying to get a macro to Build an automatically bill. My data comes from a Summary table where I have an Address and an Amount from...

View Article

Counta Ofset every 5 columns

Good day, I am trying to make a count for every 5 columns in a for loop, I can do it normal on a cell with the following, =COUNTA(OFFSET(A:A,0,5)) How can I implement this in VBA? Code: For K = 0 to 5...

View Article


Image may be NSFW.
Clik here to view.

Works perfectly in Excel 2010 but Fails in 2003

I have a macro enabled workbook that works perfectly in Excel 2010. When opened in Excel 2003, it converts but when I complete that then submit which launches the submit macro and if all ok the...

View Article

Cant send Data to different workbook.

Im sending data to to a different Workbook. the workBook will be a basic electronic LogBook of transactions. I have it working with one minor issue. The first column is shifted down one row. "A1" is...

View Article


IF(X>99%, copy and paste cell Y into cell Z, do nothing)

Hi, I'm very new to learning VBA and I'm looking for a macro that can do the following: - - Look at every cell in column C (C1:C100), and if the value in that cell is over 99%, copy and paste cell E1...

View Article

Image may be NSFW.
Clik here to view.

Split minutes between 2 time range

Hello: Please refer to attached sheet. I will be ok with either VB Code or formula. C2 is ClockIn time for employee. D2 is ClockOut time for employee. I want to split this into minutes in each hour as...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] filling listbox from userform combobox problem

hi iam having bit of problem filling a multiple listbox ,my combobox fills all textboxes ok but can not seem to get listbox working,the idea should be to pick number from combobox and populate...

View Article
Browsing all 50049 articles
Browse latest View live