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

Ranges

Hello, I want to apply this function to a range that I do not have to individually highlight on individual sheets. Can someone edit my code to make the range be columns W:AF but only going down to the...

View Article


Copy data from one sheet to another in the first empty column in a given range

Dear All, I would highly appreciate your support on a very simple macro, since my knowledge in VBA language is very poor. I would like to be able to copy a range of data from the Master sheet into...

View Article


Sum amount based on same reference id using VBA

Hi, If I have a excel 2003 file with a few rows/columns as follows 1234B,AB900,1 1234B,AB900,1 1244A,AB901,1 1267B,AB906,2 1279B,AB915,1 1279B,AB915,3 1279B,AB915,1 1288A,AB922,2 Is it possible to...

View Article

FAA Percentage Within Limits Code

Does anyone have a code with the formulae for calculating the FAA's percentage within limits? I can calculate the number of samples (N), standard deviation (Sn), lower quality limit (Ql), and upper...

View Article

Insert and between data

Hi, Is it possible using VBA with excel 2003 to insert <Start> and <Finish> before and after a set of data. Example: Beginning data 71723,121222010,EXAPLECOMPANY,2-13-2013,...

View Article


Sending a text file I create from Excel via email

I have a macro that creates a text file that I want to automatically e-mail to an RTP site... anyway I can do that within the same set of macro applications?? I use outlook

View Article

Image may be NSFW.
Clik here to view.

Hide/Unhide rows based on cell value in each row

Attached is the excel worksheet. I would like the order list sheet to hide/unhide each row in rows 5-500 in real time based on the value in K5:K500. If the value is positive it should be unhidden. If...

View Article

If name is the same between two sheets, have certain columns populate data

Ok new to programming VBA first off. My problem is I have two sheets they both contain a long series of names, some of the names between the two sheets are the same. For each name there are four...

View Article


IsDate & SetFocus

I'm trying make sure of a date entry in 2 textboxes. I'm using the following code, the problem is the setfocus moves on to the next tabstop. If I F8 thru the code the focus is set properly until it...

View Article


Userform Title Bar - Windows 8

Hello my friends. I use the code Code: Private Const WS_EX_TOOLWINDOW As Long = &H80    'Tool Window: small titlebar to reduce userform title bar. But with Windows 8 the code doesn't work. Title...

View Article

Leave Card

Hi there, I don’t know if this can be done or not… I am trying to develop a leave card. What I have is you select a cell then press the calendar button, it then populates the cell with the start date...

View Article

XLS to CSV with a Date on the filename - using VB

Hello. I have done a fair amount of searching across the various forums and I don't seem to find an answer that directly answers this question: I am trying to convert a XLS file to CSV after I complete...

View Article

Setting properties on a dynamic userform

Two questions: I have a userform which contains several (100) checkboxes which a user will use to choose search terms. I set the checkboxes' Caption properties to the values in one of three lookup...

View Article


VBA code to open an RDP file

Hi Everyone. I appreciate any help I can get! I wrote a code to open an RDP file but when I activate the code the attatched file keeps coming up.GAHHHH.png I am relatively new to VBA and coding in...

View Article

Image may be NSFW.
Clik here to view.

How to copy/paste text from ws to ws with Merge/Wrap/Auto Fit

Hello All, I need help on how to copy/paste from ws to ws with Text Merge/Wrap Text/Top Align/Text Left/AutoFit. Please take a look at the sample. Regards, tt3 Attached Files...

View Article


Lookup Column & Automatically change Value

Hello, I am using Excel 2003 on Windows XP (please do not laugh) :) Could someone please help me with the following: I need Excel to automatically lookup column AM and change all instances whereby it...

View Article

AdvancedFilter not returning Unique values

I have Code: DataSH.Range("A:H").AdvancedFilter Action:=xlFilterCopy, criteriarange:=CritRng, copytorange:=Range("AB2:AG2") It should be returning 100*FWG Complete (2*40) But it returns 100*FWG...

View Article


Add custom row macro

Hi all, I've done a few google searches but if this has been explained elsewhere, please link the relevant thread. I'm fairly new to writing macros. I've created a button control associated with the...

View Article

Image may be NSFW.
Clik here to view.

How to expand and collapse (unhide and hide) rows in a tree like structure

Dear forum Please see my attached spreadsheet. I have a tree like structure with three tiers of branches that I want end users to be able to collapse and expand by clicking on cells marked “-“ and “+”....

View Article

Image may be NSFW.
Clik here to view.

Need VBA Code for Comparing data

Hi All I require a VBA Code which should throw an message when a date value entered in a cell is lesser than or equal to the date entered in the previous cell" Please refer the excel sheet for more...

View Article
Browsing all 50040 articles
Browse latest View live