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.

[SOLVED] Create Dynamic Text Box (TextBox1_Change)

I would like to re-create the spreadsheet attached. How was the text box created in cell A1? Is this activeX? Please walk me through the steps to create. The macro is pretty straight forward, no help...

View Article


Format Number with Macro

I have an Access database where the number format of several columns is field size=double decimal places=auto My Excel Macro where I format the cells is: Code:   Columns("A:B").Select...

View Article


merging first sheet of several workbooks saved in one file

Hello, does anyone know how to fix this macro so that the new sheet opens up in the same workbook that the macro is running on? Also, is there a way for it to copy the formulas associated with the...

View Article

Image may be NSFW.
Clik here to view.

Hide and Password Protect a Worksheet(s)

I have a workbook which I share both with my clients and my sub-contractors. I would like to be able to hide certain worksheets from view, but then also password protect them so only I can un-hide the...

View Article

Image may be NSFW.
Clik here to view.

Pivot maco

Hi, I am trying to create a pivot table using Macro. the code working fine.. but the "values" field in "Row label" insted of "column label. Can any one help me this. i have attache the excel file.. *...

View Article


Psasword rules

Hi I want to impose few restriction while i am creating a login screen a) the first letter cannot be a number b) there can be no space in the password c) the password needs to be atleast 8 character...

View Article

VBA to upload exported PDF from Excel to sharepoint

This section code works to save a PDF to a file on our shared drive but not to the SharePoint site. I have access to the site and have loaded excel files using code. Code:...

View Article

Lotto triplets,quads and more

:confused:HELLO PLS VBA CODE FOR THIS FILE EXAMPLE EXTRACT TRIPLES: 1,4,6 OR 2,9,48 AND I MUST 4-6DIGITCODE TO EXTRACT EXAMPLE 1,4,6,12 1,4,6,12,15 1,4,6,12,15,18 PLS...

View Article


Export Image Issues

All- I am using the below code to export an image of a range. It works perfectly, except for the fact that it comes out as a picture of my range over top of a chart of the data in the range. How do I...

View Article


How to copy paste specific cells is a condition is met

HI, I am pretty new to VBA. I would be very grateful if you could help me create a macro to copy cells for data starting from A4 to N4 from sheet - Register to 'Case History' when the cells in column...

View Article

VBA ".End(xlDown)" with formulated cells

Hello, So I have this code which works for non formulated columns: Code: Sub ADIMMSTRANSITCOPY() Sheets("ADI MMS").Select With Range("F2") Range(.Cells(1, 1), .End(xlDown).Cells(1, 1)).Copy End With...

View Article

Opening Previous Day File by Filename

Hello Everyone, As part of a larger macro, I would like my code to open a previous day's workbook and then copy data in to the macro workbook. I should be okay to write the copying data to the macro...

View Article

FileDialogFilePick a file, then get the folder path

Hi, I have what is certainly a very basic question, but which stuck me for hours (not totally lost since I learned quite few interesting things while digging around for the answer ;)) Once a file has...

View Article


Return the directory/folder of the active file

Hi Folks! Not much of a programmer and need some help. I want to put a button on my toolbar that when clicked will return the directory/folder name of the active file into cell A1. I know I can do...

View Article

Calculate the Mean Absolute Error Using VBA

Hi Everyone, I'm trying to develop a VBA Function that can calculate the mean absolute error of a range of values. the way the funtion would need to do is the following: 1. There are two columns of...

View Article


Application-defined or object-defined error

Hello, I would like to do the following calculation with and "if" function but I recieve the above error message.. I would appreciate if somone could help. Sub calc() If Cells("D7").Value = "USD/JPY"...

View Article

Macro to copy paste data as transpose and to send email

Hi Team I need to create a macro as follows My data Client Versionref Product Emailid A 1 EL abc@gmail.com A 10 PL abc@gmail.com A 18 CL abc@gmail.com B 8 CCI efg@gmail.com B 6 EL efg@gmail.com What I...

View Article


Transfer Dada From ISeries Button On Sheet (Not ToolBar)

I am looking to create a form button in Excel 2010 that runs a .tto file. I have an add-in for Excel 2010 called "Transfer Data From Iseries" The .TTO file is a definition file of files, SQL, etc....

View Article

Add 0 if parameters are met

I am trying to add a 0 if it is missing at the start of the number in columns K2:K3000 and L2:L3000, The numbers do not have fixed lengths so I cant use the custom setting but if the number starts...

View Article

How to make one ActiveX button select another?

Let's say in Sheet1 I have an activeX button "OptionButton1". Once selected, I want it to automatically select another ActiveX button which lives in Sheet2, called "OptionButton15". What code should I...

View Article
Browsing all 49946 articles
Browse latest View live