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

Excel 2010 returns wrong .Shapes property values

The following code works in Excel 2003, but not in Excel 2010: Code:     mSheet = ActiveSheet.Shapes(Application.Caller).AlternativeText The application dynamically creates several "buttons" on a...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] how to formula the filter for day of the week

pardon my friends, i posted this thread here wrongly. so sorry. Attached Files thursdays.xlsx‎ (41.2 KB) Download

View Article


auto fill date and time

Hi all I would like to enter data in cell a and i would like cell b to automatically enter the date and cell c enter the time. i would like this to do for rows 1 to 50 can any one help i am a novice...

View Article

[SOLVED] Print All Macro Doing Weird Things.

My Original Print All Macro was created by a user named - fredlo2010 This worked great. http://www.excelforum.com/excel-prog...ml#post3523418 I had some issues with my invoice coding, and user -...

View Article

Clear Contents of a column in a range variable

im sure this is easy but I cant figure it out. I have a range variable named data I want to clear all the data in the 3rd column in the range variable I know how to reference a single location in the...

View Article


Image may be NSFW.
Clik here to view.

Help merging duplicate entries with unique information

Hi, I am trying to combine duplicates entries in one column, while preserving the unique information in each row from the duplicate. A1; B1; C1 A2; B2; C2 A3; B3; C3 into this: A1; B1; C1; B2; C2; B3;...

View Article

Please explain the pieces of this code

Hello. Could someone please explain each piece of this code? Someone recommended stepping through it, which I did, but that doesn't help you learn if you don't know what the stuff means. A lot of the...

View Article

searching col / array for value greater than (less than) reference value

Have not played with VBS in a long time so I'm a bit rusty. To properly describe the problem here's sample data: c d e f g 15.6 16 15.48 15.58 15064800 15.84 16.17 15.29 16.03 19420500 16.39 16.53 15...

View Article


Paste Excel chart with embeded workbook for Mac

Hi The following VBA code pastes Excel graphs to PowerPoint with the workbook embeded (same as clicking Paste Special -> Keep source formatting and embed workbook. Can anyone assist in translating...

View Article


Macros Error 1004

Let me start by saying I don't really have any idea what I'm doing with Macros. I'm somewhat excel savvy but this is a totally different ball game. I copy and pasted a formula from another thread from...

View Article

Paste to last row does not work

Hello All, Please take a look code then help me to fixit to paste to last row at column A Sheet2: Code: Set ws1 = Worksheets("Sheet1") Set ws2 = Worksheets("Sheet2") Dim Lr1 As Long, Lr2 As Long Lr1 =...

View Article

Round CommandButton in Userform?

Hi Experts, Is it possible to have a round commandbutton in userform? If yes, could you please provide me an example?

View Article

isDate - excel form -VBA

Hi there, I am wanting to add some data validation to my excel form. It is meant to be a check on date. Code: Private Sub textbox17_gp_date_change() If Me.TextBox17_test_Date.Value = vbNullString Then...

View Article


Exporting selected worksheets

Hello All, I have a master workbook with about 8 different reports. On the Input worksheet there is an option for which sheet you would like to export. The checkmarks are then linked slightly below on...

View Article

Four MultiSelect Listboxes and TextBoxes: Advise No Selection/Entry Made,...

Hello Forum, Thank you in advance. I have an ActiveX userform that has a single frame with 4 multiselect listboxes, 4 textboxes, update command button to send info to worksheet, command buttons to...

View Article


Delete Comment once cell has been populated

Hi. Is it possible to have a code that will remove the 'comment' from an Excel cell once that cell has been populated. I have a number of cells that have a comment explaining to an operative what is...

View Article

Copy & Paste Contents Multiple Sheets

I had this sheet up a few days ago and I got a quick response. I need to add sheets to the equation though. I would like to select a month from a drop down and the result would copy and paste the...

View Article


Delete user chosen row and copy and paste data from below to deleted line

Hi, I have a drop-down menu that allows the user to choose a vendor. I just added a delete button but I can't get it to work right. I would like the user to choose a vendor from the drop-down menu and...

View Article

Cannot get a row count from one worksheet and returned to another

I have a raw data workheet, I want to get the total count of rows from column A and return that count to my Daily numbers worksheet starting at K2. I also need it to continue to populate down column K...

View Article

last row used help

Hello. Why does the last "row" return the value of the row? Wouldn't it be "row" first and then "xlup"? Code: lngLastRow = Range("F" & Rows.Count).End(xlUp).Row

View Article
Browsing all 50112 articles
Browse latest View live