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

Shapes ON/OFF from Button (Macro)

Hello all, I need to create a spreadsheet that allows the users to show/hide the instructions for all columns with a click of a button (please see att). I tried a couple of macros found online but...

View Article


VBA to update Dynamic Range in filter

Hello, I have below VBA code which I recorded in order to do the selection of filter value. Code: ActiveSheet.Range("$A$1:$K$54").AutoFilter Field:=1, Criteria1:=Array( _         "AS", "ASN"),...

View Article


Compile Error:Syntax Error

hi there, i am trying to make a webquery on a multiple page website to extract. I got some codings from mr Leith ross and tried to incorporate them with other declaration but I am getting a Syntax...

View Article

VBA to sort and filter based on criteria or threshold

Hello, I'm having a issue to come up with a VBA that can help me filter data starting from row 11 as a header to the last row. This data contains thousand of rows so I need a vba help me sort from a...

View Article

Setting a range...

Hello, I want to set a range and I'm using the below code, but I'm getting an error in the highlighted code with below message Code: Subscript out of range Code: Dim dqper as range Set dqper =...

View Article


Formula pasted works. Same formula in VBA doesn't???

Well... the formula below works fine when I paste it into a cell (F2). Code: =IF(OR(G4=":15",G4=":10"),IF(F4<$N$1,"Yes",IF(COUNTIFS('L:\Sports Packages\[Shoot For Loot  Minimum Rates 2014...

View Article

Connection between Excel and MySql Workbench

Hey, guys! I've been having a tough time in the last couple days trying to connect an excel file with SQL. I'm using MySQL Workbench and WAMPSERVER and I want to send my queries from excel to the DB...

View Article

Search through multiple excel files and get data

Hi All, I'm currently using the following code to "pull" a range data from a closed workbook. Code: Private Sub CommandButton1_Click() With Sheets("Sheet1").Range("H21:H38")     .Formula =...

View Article


Type 13 Runtime Error Using String Variable in Evaluate Function

I'm a first time contributor to this forum so thanks for letting me join the ranks. I've got a sub that's evaluating each cell in the range "StoreNames" to see if it is in an adjacent list. If it is...

View Article


Image may be NSFW.
Clik here to view.

Slilder control and conditional popup boxes

I'm helping a colleague, Doug, with his spreadsheet and am stumped. As you'll be able to tell, I really don't know VBA. The attached spreadsheet has a slider control, that when moved to the right,...

View Article

[SOLVED] Change file path name in VBA code based on files location

Hi all, I have the following code written but I'm wondering if it's possible to modify this to change the red line to update to the path that the workbook is saved in? Meaning that User1\Folder1\...

View Article

Cycle throuhg rows on a sheet

i need the functions to cycle throuhg the rows on each sheet and output data in this format For Sheet X For I to Count total rows output specific Sheet!A4&CHAR(10)& Specific...

View Article

Loop through subfolders

Hello, I have made a code to search for a certain string inside excel files that are in a cetain folder. I'm ok untll here but th problem is that I also want to search inside excel files that are also...

View Article


counter progressive

Hello, I hope to explain. The macro. Sub CopiaESalvaInPathX () included in this workbook saved with a serial number (last number to the right of the name of the saved file). In the sheet...

View Article

Routing a spreadsheet for approval

I have a form that I plan to create in excel sheet that needs to be approved by multiple people. This needs to be sent to the first person then they check approve (through a dropdown) and then hit the...

View Article


VBA - Excel - Disable Share

Hello, I have some macros in a workbook and when a user turns on the sharing, it disables the macros. I would like to just disable sharing altogether. Is there a vba code that can grey out the sharing...

View Article

Setting page breaks with VBA

Hello - I have a document in Excel that constantly changes rows and I need to set a page break with specific criteria, due to the change in rows. Here is what I am trying to do. The sheet I use has...

View Article


VBA Code Help Needed

I needed a code that would input the current date and time in the cells in column N whenever changes were made to any cells in the row from columns A to M. For example, if I change a name in cell 6D,...

View Article

Shape Color Change Based on Value in different sheet

Hello All! I've been hunting around for a solution and can't find exactly what I need. Any help on this would be greatly appreciated. I'm trying to change the fill color of a shape based on the value...

View Article

Composing Date from 3 Inputs

Hello everybody! I'm trying to compose a date based on inputs from a userform. The user selects the day, month and year in combo boxes, and I want to place this data on a single cell in the format...

View Article
Browsing all 49946 articles
Browse latest View live