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

Image may be NSFW.
Clik here to view.

Help with VBA loop

Hi Please can anyone help me with some code. I'm trying to get the code to loop through all the completed cells. The code below copies certain cells into bookmarks on a word templete then re-saves. I...

View Article


i need to copy the dates (from date to date) if i have specific number in the...

Hi friends happy to write to you for the first time could you please help me urgently with the below excel sheet i have a full 2 month dates in row A and i have a numbers at the rest of rows (b,c,d,...

View Article


Adding named ranges in variable position

Hi all, I will try to explain it as good as possible, as it is hard to add my file due company information. I use Private Sub worksheet_Change (ByVal Target as Range) my range for changes: Code:...

View Article

Split Excel Workbook (multiple sheets) by tab names and merge into several...

Hi, my first time posting as I've usually found what I need by googling and got it working but I am a complete novice. What I'd like to do if anyone could help please is Split a workbook that has many...

View Article

Image may be NSFW.
Clik here to view.

VBA to get sheet names from closed workbooks

Hi all and thanks in advance for the help, I have workbooks with name "WorkBook_1.xlsb", "WorkBook_2.xlsb", ..........,"WorkBook_20.xlsb", each of them having the common sheet names "PList", "Sheet1",...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Macro to Cut out a row and move to new sheet

I'm in need of a macro that will cut a row out of a worksheet based on a criteria in a specific column, and add to a new sheet ( need to keep history, but dont want it on the main report), I've...

View Article

Listbox multiple issues

Hi all, First post here, but as I'm not entirely new to Excel and VBA (doing selfstudy for a few weeks in VBA and 10+ years of Excel experience in general), I'm hoping to return the service later on...

View Article

Code for finding most recent email with " " subject when multiple exist

Below is the code i am using to find an email with the subject "raw sales log" in my inbox and copy and paste it into another worksheet. It works fine, but when i have more than one email with the...

View Article


Image may be NSFW.
Clik here to view.

Formula to Remain Constant after cut/paste

I have a spreadsheet that has 3 tabs. On the 2nd tab, each cell is a formula pulling data from tab 1. When I cut/paste a line of data from tab 1 to tab 3, I need the cells in tab 2 to go blank and...

View Article


Renaming Sheet if it already exists - again

I have seen other posts on this subject, and have tried to emulate the solutions - however the code below keeps falling over if it comes across a name that already exists in the workbook; please can...

View Article

How do edit a Specific Shape?

I have workbook that includes a Shape with a hyperlink to 'Return to Index' of the workbook. That shape is called "Rounded Rectangle 2" Is there to edit the that shape name in VBA? I would like to...

View Article

vba to copy workbook without macros or code

Hi can anyone help please I need a vba macro that will copy a workbook with out the macros and code so just the sheets and information on the sheets and name the new workbook using cell A1 on the...

View Article

Can twitter hyperlinks be reprsented as "Twitter" text like in html

I have a column of twitter Hyperlinks, is it possible to (as in html) turn them into text that are links so that each hyperlink is instead the word Twitter https://twitter.com/abc becomes the link...

View Article


macro to print hidden cell ranges

I have spreadsheet in that I want to print hidden cell ranges which I have already selected for print area Thanks in advance to help

View Article

Compile error referencing checkbox in another sheet

Hi everyone (Ok, it's my first post...) I have some code behind one sheet (sheet1) which includes a routine to hide/unhide some rows in another sheet (sheet2) in the same workbook and enable/disable...

View Article


Find and replace string if value find in column

Hi all, I have two sheets (Sheet1 and Sheet2). I would like a VBA to look at values in column A in Sheet2 and if found it replace with any other text or remove this value in column A in Sheet1. So as...

View Article

Disabling Save and Save As

I want to prevent users of my workbook from overwriting the template version. I have already written a piece of code that on clicking a control button in the workbook renames the book and saves it in...

View Article


Macro not working when button pressed

Hey all, I've got a weird problem. The code I'm trying to trigger via a form control button does not work... The code works fine when I'm in the VBE and hit F5 to run the sub, it does the job...

View Article

VBA Sort Custom Order

Trying to sort ALL data automatically...sort if something is entered in Column B or C...headers in row 1...first sort based upon Column C (dates) in descending order. That all seems to be working....

View Article

Image may be NSFW.
Clik here to view.

Replace All Formulas with VBA Calculated Values

I have a workbook that has a ton of formulas in it, which if shown in full would encompass well over 10,000 rows by 1,000 columns. It's gotten to the point that I can no longer easily manage it or...

View Article
Browsing all 50262 articles
Browse latest View live