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

Input Box Macro

Hi, I want to create a Macro with an input box that tells a user to "Enter an S Name". The name entered will always go in cell A1. The input box will have an OK and a Cancel button. That's it! Thank You

View Article


Add the date to a column containing time

Hi all, I have a Workbook that on work book open, opens a days worth of telephone call logs and copies them to one sheet, this works fine. However column B contains time values stored in Excels time...

View Article


Price Update Macro For Excel-Needs some help

Hi, I have been using this code for the past year and it has worked really well in almost all cases, but some of our manufacturers don't think about how their skus are written. The problem is this new...

View Article

Data looping in vba

I'm not great with VBA at all, I've got some logic but need some help putting together the code.. How would you do something like this in excel? For each column (column B + 4... ex: columns B, F, J, N...

View Article

syntax error. Can this be done or is there a better way?

hello all, Im trying to write a big macro but im having issues with a line in one of the subs. I set "bok" and "pag" as variables so I can have the contents display in a cell (with other stuff) Ive...

View Article


How to program streaming data copy n paste in VBA ?

Suppose cell A1 is having streaming data which is constantly changing. How can we code to copy and paste the data in A3 downwards( A4, A5 etc) every time the value changes in A1. Thanx for ur help !

View Article

Macro: add space between number/letters. example 10:10am

Hi all, First post :) I am currently creating a report for my team. With the current raw data retrieved from other resource, it is not excel user friendly. An example of the current data is listed...

View Article

Excel VB Script for Rearrenging the Columns in sheet

Code: Function rr() Dim i As Integer Dim var1, var2 As String For i = 1 To 23 Select Case i Case 1 var1 = "A:A" var2 = "A1" Case 2 var1 = "I:I" var2 = "B1" Case 3 var1 = "B:B" var2 = "C1" Case 4 var1...

View Article


Prevent duplicate entry in a userform by matching record to multiple columns.

Hi, I really need help in my project. I used a userform to add records. What I want to happen is that when I hit the Submit button, there will appear an error message saying that a duplicate record...

View Article


Macro to change shape/macro button colours based on selection

Hi everyone, The title basically says it all. I have 3 Rectangles on my sheet (Rectangle 1, Rectangle 2, Rectangle 3) that will be assigned to the macro. If all the shapes are red, I want the shape...

View Article

Linking data

Hi... I am very new to excel and would like to seek assistance. I am currently creating a tracker for a multiple IT projects.the commons data that is being used are name and staff id as well as project...

View Article

How to replace an empty cell with the data of the one above

Hello, I'm a newbee on the forum and a medium excel user without VBA programming knowledge. Currently I am stuck with the folowing challenge, is there anyone who can help? Challenge: I'm working on a...

View Article

Macro Enabled Excel - Run Time Error 1004

Hi All, I am using a macro enabled excel file for the purpose of calculating certain accruals of income and depreciation on contracts. However I experienced a run time error 1004 - Application –...

View Article


[SOLVED] Target Address Problem

I have a spreadsheet using some VBA (I'm still very new to VBA) that uses Target.Address to reference a cell, however if I then insert a row into the spreadsheet above the target reference (in this...

View Article

Copy/past and 18 line jump

I am novice in VBA and I fight a little to arrive has to make what I want: Here is the situation: A Sheet " Result ": I have a name of equipment and the rest of the information has to fill with other...

View Article


Image may be NSFW.
Clik here to view.

VBA/Macro which can multiply 2 columns and output is in the third column

Need help on how to create a macro which can multiply 2 columns and the output will be in another column. e.g. Column 1 Column 2 Column 3 1 5 5 1.5 8 12 I have attached a sample snapshot on this. May...

View Article

Hide Columns Containing "0" Values

Hello, I would like my macro to hide rows and columns containing "0" values. The code to hide the rows works, but the code to hide the columns does not. Here is my code: The code marked with the red...

View Article


VB script to convert excel to cXML

Morning All I am new to the forum so Hi to All. My question is (I hope) a simple one! I am looking to create a Script to create a text file from culumns. This text file will need to contain some...

View Article

Problems linking numerous sheets in workbook to one master sheet

Hi All, Hope you can help? I am working on multiple projects. In the attached workbook I have set up separate excel sheets for each project. I have a master sheet (first sheet) which is a summary of...

View Article

Move to a worksheet continaing a value in a specific cell on a header page

Hi I have a workbook containing 100 worksheets. Cell E4 in each sheet (except the header sheet) contains its own reference, and the header sheet contains a list of those references. The worksheet names...

View Article
Browsing all 50040 articles
Browse latest View live