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

Output redirection from BAT or VBS to text file.

Hello again forum, I am working on a VBA routine that calc and verifies hash files for a series of folders and sub directories, using a command line prog called exactfile.exe (exactfile.com). It is...

View Article


Image may be NSFW.
Clik here to view.

HELP! Transferring Rows of Multiple Data Between Workbooks

Hi, I have two workbooks with similar columns (note: both workbooks may not have all the same columns, but for the same columns, the names are written identically in both workbooks). I'll walk through...

View Article


Track Computer Lock and Unlock time in excel

Hi I want to make break tracker. When i press Windows + L Or CTRL + ALT + DELETE (Lock computer) Automatically lock time upload in my excel sheet. Then when i unlock pc then automatically unlock time...

View Article

[SOLVED] BeforeClose event not running/working when file is closed through...

I have a code in file A that opens several files (B,C,D&E), copies some data from them, then closes the files. That part of the code works fine, but each of the files that are opened...

View Article

Hide a Row Based on a Cells Value

I am very very new to VB but i'm in need of code that will automatically hide a row based on its value in Column A. My range in column A is A22:A37. If the value in A22 is "0" I would like to hide row...

View Article


VBA - Internet Explorer find value within webpage

Hey Guys, I'm intermediate at VBA and VERY new to vba/internet explorer interaction. I've been having some luck logging on and taking values from websites by looking at their source code but Im having...

View Article

How to assign a number to course name in inputbox

Hi friends, In column ‘o’ I have inserted a number for course name in column ‘p’. I want to assign a course name to that particular number as follows: Column ‘o’ Number ... Column ‘p’ Course name 1:...

View Article

sending image or range as body via CDO

Hi guys, this must be a frequent question and ive run through Ron De Burin's manuals but i cant seem to get this to work, ive had it work before but its just not working!!!! I need to either send a...

View Article


Copy Cells from one workbook to another

Hello, I recorded a macro to copy and paste values from several different ranges in one workbook, then open a destination workbook and paste them there. For the most part it just goes back and forth...

View Article


Image may be NSFW.
Clik here to view.

vba to copy and insert row and copy/paste cell value if cell not blank!

Hi I'm using xl2010. In the example, I want to split a sku code into two lines:- If column D has text, copy that row and insert into next row; then copy the value from column D in original row to...

View Article

Simplify VBA code to go to Specific cells in different worksheets

Hi, can anyone help me why I cant simplify this code to go to specific cells if the we are in different worksheets e.g. ActiveSheet at "Sheet2" Code: Worksheets("Sheet1").Select Range("A1").Select...

View Article

Image may be NSFW.
Clik here to view.

How do you get a cell to be Tuesday-Thursday?

I am trying to use configure a code similar to this......

View Article

Image may be NSFW.
Clik here to view.

Macro that saves a copy of document in a different folder location

I have attached my workbook. I am trying to use this macro to copy and paste a document from one location to another. I keep getting run-time error '52' "Bad file name or number". I know the file...

View Article


Image may be NSFW.
Clik here to view.

dropdown list using filters

Hi everyone, Thanks for taking the time to read this post, in short I am still working on a project tracking results. My main problem lies in the fact I have a main dropdown box in cell O5 regarding...

View Article

deleting picture (shape)

Hello Gurus, The user of this spreadsheet inserts data and pastes a picture in the a specific place. Example cell AJ4 Sometimes the user copies the spreadsheet and deletes the picture and adds...

View Article


Reset variables for each pass through a For loop

I am having trouble defining a variable in a For loop. When I run the loop the first time everything seems to work fine, but when the loop goes back through the second time it carries its previous...

View Article

copy only visible text boxes to clipboard from user form

hi all i have been stuck on this for a while now. i have created a command button that copies a string to clip board. this strings is made up of text boxes on a user form. the text boxes are filled in...

View Article


Set Button as ActiveCell

Hi all, After having been helped at one part of my project, I am now stuck at another one. Please have a look at the attachment (I have tried to keep it as simple as possible by removing everything...

View Article

Image may be NSFW.
Clik here to view.

Macro to Combine Multiple Workbook Data into Single Target Workbook

Hi, I have the following code that I used for a prior project using Excel 2003 and its related libraries. The code was used to pull data from a folder full of excel files that all had the same single...

View Article

Call UserForm from a variable number of ActiveX command buttons

I want to be able to call one user form from multiple ActiveX command buttons. The problem is, the number of command buttons depends on user input on another worksheet, so it's variable. I've renamed...

View Article
Browsing all 50282 articles
Browse latest View live


Latest Images