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

Export pivot table to .gif image file - buggy!

Hi I have the following code which works in some cases but in others it generates an actual chart on the resulting image! Researching this online has been very frustrating and am hoping you gurus can...

View Article


Color formatting using VBA

IdealTasks.xlsm Hello, I'm trying to say --> If the cell color is blank Then say "I'm free". --> If the cell color is not blank Then say "I'm busy". In the cell N4 for example, the cell at the...

View Article


Organising information for permutation

Please forgive another question about permutations but I just can't get this done without some help. Would anyone know how to solve this: I need an excel spreadsheet for an allocation system for staff...

View Article

Drop-down list with Directories

Hi All, I was wondering if anyone here could help me out with the following, I have little to none experience with VBA. Well, I can do some very basic stuff. I would like to have a drop down list in a...

View Article

Time + Now Wait does not work with other macro running

Hi, I have a macro (in the view program code mode) copying data from one sheet to an other sheet upon a cell value changing. Now I want a macro which recalculates the data, than waits a few seconds...

View Article


[SOLVED] Macro works in step through but not when run

Hi everyone, I have this macro that suddenly stopped working. I cant figure out why, I can post the code but not a workbook since its got protected info... but It runs until it opens the new workbook,...

View Article

Using Step-into (F8) for code in ThisWorkbook

Is there a way to step through the code in the ThisWorkbook object, like you can with the other worksheets using the F8 key?

View Article

html text - no tag for data

I'm trying to pull some data with my code that is based on the "innerText" of a tag. I've been able to do it successfully for many sites but I just ran into a websites source code that doesn't seem to...

View Article


Macro to open specified file path with variable date

Hi all, I'm looking to write a macro for an excel sheet that will open up a data file from my HD. The end goal is to have a macro that will automatically open a report file from the previous business...

View Article


Image may be NSFW.
Clik here to view.

Repeating a date/time subtraction that meets certain conditions involving...

I have a spreadsheet that allows users to track startup and shutdown dates and times of two machines, CG-3001 and CG-3002. Certain conditions of these machines are also tracked during startup/shutdown,...

View Article

Macro to Save File to Location Folder Based on Date in Cell

Hi All, I have a macro to save files to a specified location based on content of cells, one of which is a date. It would be great if the macro could look at the date and decide which year folder then...

View Article

[SOLVED] Test For Button Text in VBA

I am trying to manipulate button visibility dependingon whether there is text or not displayed in the button. The code looks like this: Dim SCaption As String For Each shpShape In ActiveSheet.Shapes...

View Article

How To return five different arguments through one function

Hi everyone, I have found on the web the following VBA Code to return all System Memory Information: Code: Type MEMORYSTATUS   dwLength As Long   dwMemoryLoad As Long   dwTotalPhys As Long...

View Article


Numeric Input Popup Box

Hello, I need to add a popup input box function to my vba macro which will allow the user to enter a number which will be inserted into Cell J1 and then another popup input box for the user to enter a...

View Article

Compare 2 worksheets and compute differences in 3rd worksheet.

Comparison.xlsx Hi all, I have been spending many hours looking for some code to do some relatively simple comparison tasks, but I haven't been able to find an answer to my particular problem. I have 2...

View Article


Image may be NSFW.
Clik here to view.

how to change multiple lines in a cell to seperate rows

Greetings, I have a 2,500 rows of data that have variable amounts of lines in a single cell. I would like to be able to divide the multi line cells into seperate rows. I've attached what it looks like...

View Article

automate xlsx to tab delminated file

Hi All, I was looking for a way to take a xlsx file and convert it automatically into a tab deliminted file. The next step would be there would be an excel file that would go into a folder and then...

View Article


Export Cells from one workbook to another workbook multiple times

Hi i am starting a project at work which basically takes a description of a part & a value of it then pastes it into another workbook withing the same folder as described further below: I have a...

View Article

deleting rows in a tab

Hello. I've attached a spreadsheet with two tabs. The first tab is the "base" tab. In the second tab, I have names, some of which are not in the first tab. I would like to create code that deletes out...

View Article

Cannot open Pivot Table source '[TR CallDetail.xlsm]'Invalid Calls

I'm getting an error that doesn't make sense to me. I have a pivot table that is part of a spreadsheet. I access it through ThisWorkbook so that I should always pull the correct workbook. This should...

View Article
Browsing all 50061 articles
Browse latest View live