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

How to use Excel 2010 colmn data as variable in SQL query

Hi, New to the forum and it's been years since I've done any VB coding - I'm realizing how rusty my coding skills are while trying to work this out. I'm trying to create a proof of concept for...

View Article


Opening passworded database with VBA

Hi, I'm trying to open a database that has a password using VBA this is my code but it doesn't seem to work, what am i doing wrong? Code: Dim MyImp                      'TB file name Dim MyImpAdd...

View Article


Image may be NSFW.
Clik here to view.

Move row to another sheet when cell has a date

Hello I'm trying to move a record (row) from the "Open orders" sheet to the "Recieved" sheet when I close the file. To logically describe the desired results in as I envision they should occur; 1.Copy...

View Article

Replacing Blank Cells in a Table with Header summary

I have made a macro that replaces blank cells in the table with a header summary but I am a complete beginner at VBA and this method takes a while for excel to do (on a massive spreadsheet) presumably...

View Article

I need vb code for copying Excel cell ranging from "D1" to "f14" and paste in...

I need vb code for copying Excel cell ranging from "D1" to "f14" and paste in outlook mail body.

View Article


More users in 1 Excel file , VBA userform. read only solution?

Well you probably all know the world famous problem , sharing workbooks = corruption If several people want to enter data on the same workbook , this is problem. I Googled , and only got negative...

View Article

Text to Columns, but macro

Hello again I have a problem with a macro I have a text in column A, something like " X = 3439.3046 Y = -328.9816 Z = 0.0000" but in many rows in column A I want to split in columns. It's easy in excel...

View Article

Select Time in a cell then find it in another workbook.

Hi I am trying to select a cell containing a time (formatted: "hh:mm"), then opening another workbook and finding that time in a range. #Dim ?????# Do not know what to write here! #set a =...

View Article


[SOLVED] Error when using VBA to follow valid hyperlink

I am using some data validation fields to build a hyperlink to folders on a shared drive. The final hyperlink works correctly when clicked directly, however my desire is to not display the root or the...

View Article


Macro to look at part content of a cell and Hide row

Hi, I have a small piece of code that goes down a sheet and looks at the content of the cell in column A. Some cells will begin with the string WK21GT01- the rows that these cells are in I want to...

View Article

Automatically adjust date/time in cell to send e-mails on weekly basis

Hello, I have a range of cells with dates and times in them (e.g. "21-11-2012 17:00") These are used as reference for a .deferreddeliverytime function to send e-mails in Oulook. As I have to send these...

View Article

Updating pivot table filters through a macro has stopped working, help please

Hi all, These forums have helped me quite a bit over the past few months as I've gotten to grips with a new job that required a lot more Excel use than before, and today I'm hoping you can help with a...

View Article

VBA code - Convert one value to another value

Dear all, I have the following values in column B: CITG WF JPM I would like to translate the codes into meaning names in column C such as: (desired output) CITG --> Citi W F--> fargo JPM -->...

View Article


Scan barcode and go to next row

I have a barcode scanner. So when the barcode is scanned using a gun, the value normally is entered to textfield placed on the screen. So I have made an excel macro. And when the barcode is scanned,...

View Article

Image may be NSFW.
Clik here to view.

Creating Worksheets from Mastersheet

Hi everyone, its not an entirely new problem, however I couldnt find an already existing answer that hepls me. Basically, as you can see I have a Mastersheet with a list of clients. The following...

View Article


Macro will not run on protected worksheet

I am using a macro-enabled template workbook (.xltm). I have a macro that will imprint a last revised date, showing the date when the worksheet was last modified. It does not work, while my worksheet...

View Article

How to make a Command button run the "FORM" command to fill/populate a table?

Dear All, I have little to no experience using excel. I have a spreadsheet which has been made to look like a form with around 16 columns which act as headers/fields, the rows beneath will be data...

View Article


Sorting macro but dependent on header for each section on active tab

I'm trying to help a coworker with a macro. He is wanting to sort data for equipment outages. He has a heading on Row 9 for "Planned Outages" another one on Row 27 for "Forced Outages" and finally one...

View Article

User inputs value into formula via an inputbox

Hello, I don't know if this can be done, but here goes. I have a formula; =SUMPRODUCT((E2:E2500)*(C2:C2500="Bath Blanket")*(INT(A2:A2500)=DATE(2012,11,15))). I would like to ask the user for values to...

View Article

How to delete a cell with part of string on other sheet ??

Hi All, I have a nice sheet with a lot of different codes and functions but I'm looking for a search and delete function. I've tried many options that I could find using the search functions but it's...

View Article
Browsing all 50067 articles
Browse latest View live