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

Checking if a workbook is open

I've found this Private Sub online and i'm just looking for help implementing it into my routine: Code: Private Function WorkbookIsOpen(wbname) As Boolean '  Returns TRUE if the workbook is open...

View Article


Macro to Copy Workbook from One Drive to another at a Specific Time

Hi, Everyday I need to copy a sheet which is updated by users and saved a Public Drive and I need to copy into my Personal Drive.This is done at a specific time which is at 1.PM. Is there a macro which...

View Article


Desperate for help - editing macro to bypass registration key or using code...

This is a tricky one, it's an excel spreadsheet but it's not locked through the excel way of locking a spreadsheet (if that makes any sense) I think the spreadsheet itself was created using some other...

View Article

VBA Code fails to select the correct number of Columns in a Spreadsheet

While I was performing calculations on a spreadsheet, I realized it didn't select the correct number of columns.. It is supposed to select 10 columns... But it skips the last one. There are 11 columns...

View Article

Compare cells in two excel sheet and then copy from one sheet to another.

hello all, I need to update the information from one worksheet to another. i have two worksheets that i need to compare based on the contents of a row of cells. this contents of the row of cells is...

View Article


Image may be NSFW.
Clik here to view.

Help needed with a sorting procedure on an array - Subscript out of range

I am working on the following code, which is supposed to get the values from a spreadsheet into arrays, sort them (it's a triple sort here - three arrays are sorted at once), and finally place the...

View Article

Combo box

Hi, I am generating multiple comboboxes with a loop. combo.JPG As you can see in the attached image i want to change the value to Incident end time when the incident start time is changed. since it is...

View Article

Image may be NSFW.
Clik here to view.

Macro to send email from Excel.

Hi, Could some one help with the code to extract the data from email content tab instead of the code I have given in .body itself. In the attached I have made the email content (.Body) on the macro...

View Article


How to change the Font Properties of Chart Primary/Secondary X-Y Axis Title...

How to change the Font Properties of Chart Primary/Secondary X-Y Axis Title using VBA ? Dear Forum, I am trying to create a Basic Clustered Column Chart using VBA and have made a rough Chart which can...

View Article


Image may be NSFW.
Clik here to view.

automatically fill a table when i click a button

hi, i need to use a button to fill a table automatically when i click it. steps are mentioned in the attachment. ('button 1' in the sheet is used to fill another table which a member in this forum...

View Article

How to create a simple formula for a data dump

Hi all - Please help me create a very basic formula on how i could create a single data dump file. I'm fairly new in excel and still learning things. Here's what I would need to do.automatically...

View Article

Image may be NSFW.
Clik here to view.

Incrementing Rows in a Macro

Hi all, I have written a very simple macro for the attached worksheet to add a new row and copy the formatting from the row below and then clear it ready for data entry. As you can see, there will be...

View Article

Copy data from excel to Outlook new email and create draft.

HI, I am a moderate user of MS Excel. I have many tables in my Excel Sheet and have to send those tables daily to the users by Outlook mail. I am interested: is there any code or possibility that when...

View Article


Conditional Formatting vba

I'll try do (the macro is necessary because users can change or remove formatting): The first row of a sheet has headings; Column A (from 2 row and below) text (VerticalAlignment=xlCenter,...

View Article

VBA - Traffic light Icons (Conditional Formatting) -Trigger from mixed...

Hi, Aim I want to use traffic lights (less obtrusive than full shading) to highlight these 3 results in a column (range O6:O37 in my spreadsheet), creating an easy to see dashboard. The traffic light...

View Article


Userform help

I have a workbook with 4 sheets, one contains a button that opens a userform with a textbox and a search button the other sheets are my data. What i want is to enter a customer name into the textbox,...

View Article

Code needed to repopulate a cell if it's deleted and show a message box.

Hi guys, I've got some code that populates a table with data from another table whenever a date is selected from a dropdown list (in cell B9). I'm trying to add some more functionality so that if...

View Article


Compile Error - Importing multiple CSV files via GetOpenFilename

When I click a button in a userform i want it to import the following CSV files which will always have the same column format (the with part was recorded and then modified to operate on the files...

View Article

VBA Chart produces Block WIth End and fails to display correctly

Hi, not sure where exactly should I address this problem since it is both charts AND VBA... I am working on a project where I calculate probability distributions of certain data you can see in this...

View Article

Command Button - add data in adjacent cells

Hi all, I'm almost entirely new to using VBA (aside from dabbling in it about twelve years ago, 99% of which I have forgotten!), so forgive me if this is a really stupid question. I have a command...

View Article
Browsing all 50040 articles
Browse latest View live