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

[SOLVED] Cell name conflict

Lookup would not work if searching for A1 string

View Article


Saving a password protected output file, void of macros.

I have created a workbook with multiple pages that we use throughout the day to accomplish certain tasks. At the end of the day, proof is required that these steps were completed. I need to have a...

View Article


Need help with error

I'm trying to set a cell value to an address but I get a "Run-time error '1004': Application-defined or object-defined error". Here is the line that is causing the error Code: Range("L5").Value =...

View Article

Image may be NSFW.
Clik here to view.

Macro to reformat data in horizontal format to a proper Data table

hi Please help me with a macro to reformat the data as described in the attached worksheet. I need to convert the data from horizontal format to a proper data table. The month headings can change and...

View Article

need help in copiyng the "entire coloum" macro.

Hello, Code: Cells.Find(What:="Invoce Amount", After:=ActiveCell, LookIn:=xlFormulas, LookAt _         :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _         False,...

View Article


How to hide a selection of objects but show objects automatically when...

Hello, I am wondering if there is a way to setup a couple of objects (shapes) that appear in the middle of the screen any time the workbook is opened but be able to hide the object after making a...

View Article

Macro to sort whatever columns I highlight

I have a spreadsheet that has columns I need to highlight and sort. The number of columns changes, but always starts with column H. I want to make a Macro that will sort whatever columns I've highlight...

View Article

fixed date format in case computer has different date settings e.g dd/mm or...

Hi crew, This is a simplified version It finds the intersect of rCells row and Dcells column and places a value. Have got this running beautifully on my machine! My date/time format is dd/mm/yy However...

View Article


Scan For Blank Cell and Average

Hello - I am wondering if there is a Macro that can scan for blank cells and then fill in the AVERAGE of the cells that are located immediately below it. The amount of cells below it can vary. I...

View Article


Automation of Defining Names

Hey guys, I am new to VBA and I am wondering if it is possible so that with the creation of a new sheet, a cell, such as A2 would be automatically defined. The defined name would be related to the...

View Article

Image may be NSFW.
Clik here to view.

code isn't getting trigered

Hi there, will appreciate any help on this thread. I have this code created by djbomaha and improved by Norie that in Y7 count cells that contain values over 0.01 from the X9:X48 cell range and also...

View Article

Image may be NSFW.
Clik here to view.

Copy Multiple Worksheets into new columns

Hey thank you so much for your help i just ran the code then and its giving me "Run-time error '91': object variable or with block variable not set" and as i am still new to excel code i am struggling...

View Article

Image may be NSFW.
Clik here to view.

Sort within groups of areas

Hoping somebody can help me out with a solution here. I have some flow chart built in Visio which I export to Excel. Even though in Visio the shapes are sequential to the process flow, the underlying...

View Article


How do you loop through columns

I'm new to to vbs script in excel, and i'm stuck on looping through column function. I have the function below it does what I want but it stop after one iteration. I want it to loop through entire...

View Article

Start Macro from Cell change in WS

Hi everyone, I have some code that I would like to start when a cell is changed on another worksheet. I've tried selectionchange and change and caluclate. But they all stop at the same point in the...

View Article


Image may be NSFW.
Clik here to view.

Match text in A1 to a part of a text string in B1 and enter data D1

Hi Guys Yesterday I go some great help from Norie and Oeklere which I have incorporated into this macro. I am uploading a workbook which has 4 sheets 1. How I would like the file to look: 2. List of...

View Article

Help adjusting this VBA code

I was able to find this code which reads all files in a folder (in my case, all .txt files), and adds the data on them onto one spreadsheet. Can you please help me modify it so it also adds the file...

View Article


Need help with macro to reset a form

I'm working on a budget form idea from one I saw that didn't auto calculate the columns. Everything is going well, but it's been the better part of a decade since I tried my hand at writing a macro....

View Article

Open an xlsx with most recent date in filename, run my data pulling macro,...

Hi, I'm currently trying to create a master list of prices of a product that changes from day to day. In order to do this more efficiently, I want to write a macro that will pull data from the daily...

View Article

Image may be NSFW.
Clik here to view.

Macro to save the workbook when a value in cell changes

Hello!! Good Day i have attached a workbook which has two sheets. sheet 1 is input values and sheet 2 is output values. i need the workbook to save automatically and close whenever sheet2 is updated...

View Article
Browsing all 50040 articles
Browse latest View live