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

Image may be NSFW.
Clik here to view.

Copy comment on same column in new rows on dynamic table?

I searched in some places for this code (and use search in this forum) but I didn't see anything related. Just want to copy the comment of first row on a dynamic table to every new cell in that column...

View Article


[SOLVED] Print button that still prints when cancelled at the printer setup...

Hello. I'm trying to set a print button that when pressed, it will show up the available printers and then print out a specific range of cells in a specific number of copies. I've tried the following...

View Article


Image may be NSFW.
Clik here to view.

Help with Mail Merge Auto Email VBA - Multiple CCs.

Hi, I have an excel macro / spreadsheet that i use to mass emailing people. It has been re-purposed over the years for various functions, so, to be honest, there is lots of stuff in it that probably...

View Article

Locking / Unlocking Cells

Hello, Hope someone can help. I have a sheet that needs to have cells locked or unlocked according to if then I have about 400 rows that can have data entered in, each row has 9 columns that can have...

View Article

Image may be NSFW.
Clik here to view.

Broken Code. Web Data Pull

I had some code that was working fine for weeks and all of a sudden it no longer works anymore. I'm still a novice at vba. Do any of you have an idea as to why this might happen. here is the code:...

View Article


Image may be NSFW.
Clik here to view.

select and sum the values for specific ID

Hi I'm trying to sum a specific values for each user ID in same ID_shop, the user IDs are (81 to 86) my code is not complete: Code: Private Sub deletecancel_Click()     Dim myRange As Range   'declare...

View Article

saving file with new named folder

Hello I am trying this code and cannot seem to get the file to save I want to create a new folder each time named by the fields in the userform Code: MKDir Location Set Location = "& Me.TxtTNo...

View Article

Image may be NSFW.
Clik here to view.

Cannot delete a worksheet when a change event for a userform combobox detects...

In the attached workbook, there is a modeless userform which has a combox with a rowsource pointing to the first worksheet "Sheet1!$B$1:$B$2". I have added a change procedure (event) to the combox, so...

View Article


Image may be NSFW.
Clik here to view.

Random drawing (Randomizer) with maximo of numbers that the result can apper

Hello Guys, please help me, all ideas are welcome. I need to send randomly some specific task to people, (like an automatic drawing) I have the list of the Tasks and I have the % saying how many...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Help editing VBA code that uses MySQL queries to show also column names

Dear all, I'm using one old excel file with a VBA code that allows to do MySQL queries on other excel files. The file works great, but whenever I do queries, the pasted data does not contain the...

View Article

Finding 5 largest values in a column and then returning the rows that correspond

Hi, I have a macro where i need to identify the 5 largest values in a specific column of data. Note: Lets say there are 30 columns of data in this file. I need to copy and paste the rows which...

View Article

Fast count of integer's divisors

I am looking for a fast way to count the number of divisors of a 9-digit number using VBA. I can find the count using this function: Code: Public Function tau(n As Double) As Double Dim k As Double...

View Article

Workbook_open event, or rather non-event!

So this is a long running issue for me, on and off. I have a stack of spreadsheets that have workbook_open events to do a number of things. So today one of them decided not to do anything on opening....

View Article


[SOLVED] copy specific column to another sheet after filtered data without...

Hi My code below works fine, but it copies all data to another worksheet. My data has 21 columns. When I execute the following code, it copies all 21 columns data without header to another worksheet....

View Article

Image may be NSFW.
Clik here to view.

Form Validation and Insert Object Questions

Hi there fellas, I'm not that versed in excel let alone VBA, but I usually search for what I need (formulas and macros) and get it done, as most of the stuff I do in excel is rather simple. I've been...

View Article


ActiveX MultiPage Control Blues

Hi everyone! My problem is as follows. I succeded in embedding a Multipage control directly into a sheet and then, adding other controls to a couple of tabs (first selecting the MultiPage control,...

View Article

Image may be NSFW.
Clik here to view.

My ActiveX MultiPage Control Blues

Hi everyone! My problem is as follows. I succeded in embedding a Multipage control directly into a sheet and then, adding other controls to a couple of tabs (first selecting the MultiPage control,...

View Article


Image may be NSFW.
Clik here to view.

Macro which sorts and matches entries not working but not erroring

Hi all, I've done some programming in Python and R but this is my first foray into VBA so my apologies if any of this turns out to be an absurdly stupid question! I'm trying to write some VBA code...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Looking for help with an if then function

I am not sure if this would fall under VBA or cell formula. Basically what I am doing is making a number comparative, using a cell as a search box. What I am trying to do is turn the search cell (I7)...

View Article

hiding rows based on a value in a column

Hello everyone, I have a spreadsheet with data in the range D16:G1500 Please how would I write a macro that looks at the value in column D in reach row of the range and if the value is blank "" then...

View Article
Browsing all 49946 articles
Browse latest View live