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

Can not write Long variables to worksheet = what am I doing wrong???

I've been working on a project under high pressure and I am almost there. The final thing I need to do is to write some long variables into a worksheet. And wouldn't you know it. They. will. not....

View Article


Copy and Paste Single Row to Another Worksheet

Hi All I'm new to VBA and the world of macros and need a bit of help with something I'm sure is very simple I need a macro that will copy 1 range (a single row in this case) and paste it to another...

View Article


Is it possible to bypass the pw to modify all wb

Hello All, I would like to modify some data in each WB. Each time the WB open, it will be prompt the pwuserform to let user enter the password. Is it possible to bypass the pw by enter pw in vba code?...

View Article

Data being cleared in cells when OK pressed on msgbox

Hi, I have the code below for a msgbox to prompt the user when particular cells have no value, this is within a Macro to copy data to a master sheet. For some reason when I click OK on the msgbox the...

View Article

Folder has X amount of jpeg files. How to automate creating links for those X...

I have a folder where I have between 45 and 90 photos saved. How can excel automatically create a hyperlink for every one of those photos in a different cell?

View Article


Image may be NSFW.
Clik here to view.

auto filter and replacement

Hi: I have this data dump, updated 4-6 times a month. i like to have macro automatcially deleter any unit number not 10020 or 10051 under col A (unit) and under Client, there are some NONCL, i like to...

View Article

Create button and actions to add a "journal entry" based on other fields

I've created a spreadsheet in Excel 2013 that has a bunch of fields that are either calculated or the user enters data into it. Once the user has finished, I'd like to record some of that information...

View Article

Using .Find

I have a userform asking for various fields, with a combobox and a textbox. What I want to happen is once the user clicks the commandbutton on the form, the textbox value will be inserted onto a...

View Article


[SOLVED] When filtering repeated data, leaving the title(header) alone...

Hello everyone, I was assisted with a macro that deletes all other data other than ones that repeats in 4 consecutive patterns. However, doing so, also delets the headers for the data (data starts from...

View Article


Image may be NSFW.
Clik here to view.

Use a command button to move data from a form to another worksheet

Guys & Gals, I am new to this and really enjoying finding things out but wondered if anyone can help. I am looking to: Hide all the worksheets but still be able to find them using a command button...

View Article

Need VBA worksheetfunction.stdev based on cell value criteria

Thank you in advance for whatever help you can provide. I am able to use the formula {=STDEV(IF(B1:B7>1,B1:B7,""))} (entered as an array by pressing control + shift+ enter) in my spreadsheet, but I...

View Article

Compare two columns with data, if match or not found then change the colour...

Hello I need to effectively compare two columns of serial numbers data (numbers+letters), because it will be a lot of them (more than 10000). The data are on two different sheets and both are in column...

View Article

Image may be NSFW.
Clik here to view.

Insert Column when a sequential isn't found

Hello, I have a problem, where i have a row of numbers and data underneath that are imported in they sit in row A and run to column 20, these numbers are sequential 1,2,3,4 etc, but there are sometimes...

View Article


Using strings in VBA

Hello helpful people, Hoping somebody can help me... I am trying to concatenate a variable range please see sample spreadsheet:Test.xlsx All that I want to do is concatenate all of the values in list1...

View Article

Image may be NSFW.
Clik here to view.

Create a combo box in excel

Hello friends, Please guide me how to create a combo box in excel. I have created a dropdown list of districts but to select a particular district I have to scroll several times which is time...

View Article


Image may be NSFW.
Clik here to view.

UDF is Not Calculating when dependant cells are changed

I have created a UDF which is not updating when dependant cells are changed, My calculation is set to Automatic. If I change cells b3 to k5, the UDF in L3 updates. These values are dependant upon...

View Article

ComboBox and .Find

Warning: code will be infinite loop! Hello, I have multiple comboboxes in a userform and I want the second combobox list to be dependent upon the first combobox. The first combobox simply goes through...

View Article


Macro Cell Error At Cell message when running Solver in VBA

Hi, I have written a macro to open a temporary workbook, copy/paste data from a main workbook, and then run Solver on the pasted data in the temporary workbook. When the macro executes, I keep getting...

View Article

LBound(Name) to UBound(Name) Multiple Arrays

Greetings I have a code that works perfectly by searching an array and by displaying the results. As well as the interactions with window pane messages as seen below Code: Dim Qs As String         Dim...

View Article

repeating sequential number increatment column insertion

Hi,There, I am trying to create a worksheet,in which I would like to insert two columns,column A and Column B.The work sheet should be like as follows: Col A Col B 101 abcA.jpg 101 abcB.jpg 101...

View Article
Browsing all 50054 articles
Browse latest View live