code & vba

  1. I

    How to convert numbers to words in Excel with Hyphen - Minus Values

    Hello Everyone Good day, I'm using below VBA code for last 1 years and today I discovered the small error in VBA code . When I write minus -10,000 it shows on "Only Hundred Ten Thousand" When I write positive 10,000 it shows on "Only Ten Thousand" works fine Can someone please correct my VBA...
  2. JEH105

    Assigning a VBA to a specific column.

    Hi everyone, I'm not very experienced in VBA, but I found the following code in order to add time stamps to a workbook. However, I need the timestamps to be added to column D only. Currently, it applies the timestamps to ALL cells. Here is the code: Private Sub Worksheet_Change(ByVal Target...
  3. G

    General Question. Is there a way to distribute (sell) an Excel File but protect the contents from being hacked, copied?

    I enjoy writing Code for Excel files. Is there any way I can ever sell an Excel file and protect it so that it can't just be copied and distributed freely to anyone who wants it?
  4. J

    SPLIT function in VBA code query

    Hi guys, Could you please help me with a code which would split Address string as per the pic attached? - there are two types of inputs: 1) the one which starts with "~" after ";" and is structured - i.e. has 3 strings (first two separated by "," + "~" country) and 2) the one which contains...
  5. A

    Coded needed to take a row from mater sheet data and copy into other sheets in workbook based on a condition

    Been hunting the internet trying to figure this out and I give up so hopefully someone can help me out here. So overview is customer list and trying to break out customers by sales rep into their own sheets in the workbook. Just trying to set something up for a CRM while we are dealing with...
  6. S

    Help with Code possibly integer related

    Hi All, I have the below piece of code which essentially takes data from one tab and makes it a bit more linear on another. So all the data (which is a timesheet) is on the timesheet tab. The code then changes it over to the history tab in a more linear form. Never had an issue with this until...
  7. G

    VBA Updating worksheets before PDF printed based on dropdown in other worksheet

    Hi, hoping someone can help. Think it's quite simple but I'm stuck! I have the following code which loops through a dropdown on Sheet1 and subsequently prints two other worksheets to PDF. Both worksheets have a cell linked to G5 on Sheet 1 and values in those worksheets should update based on...
  8. Grizlore

    Issue now we have moved to 365 on browser - CreateObject("Outlook.Application")

    Hi All, I have been using this code with success for generating emails, using VBA Set OutApp = CreateObject("Outlook.Application") Our company is moving to the web based Outlook email, Office 365. This causes the code to error Is there code which creates email when using Outlook 365? Any help...
  9. Mister_J

    Help setting fixed values in an amazing macro that splits columns using dialog box feedback!

    I have an amazing macro that uses dialog boxes and allows you to select a column of data, and break it up into multiple columns based on a number of rows you select. Then output those columns starting in a cell of your choosing. Starts as: (I choose 2 rows per column) 1 2 3 4 5 Becomes: 1...
  10. V

    Text & General Format to Data Format all the data - code/VBA required

    Hi all, we have the following data and want to convert in "date", we have tried Code 1 =TEXT(A1,"mm\/dd\/yyyy")+0 Code 2 =TEXT(G12,"mm/dd/yyyy") but problem not solved, pls check the result after using the above code and provide the code/vba, also when we copy the data...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top