activecell.value

  1. J

    clean up code (if possible)....

    If ActiveCell.Address = Range("A31").Address And ActiveCell.Value = "" Then UserForm1.ComboBox1.RowSource = "Lists!A1:A23" UserForm1.Show End If If ActiveCell.Address = Range("A32").Address And ActiveCell.Value = "" Then UserForm1.ComboBox1.RowSource =...
  2. W

    Change macro stops

    I wrote this program to take some data that was being transferred to my tablet through a keyboard wedge software and put it into our inspection sheet. It takes data from a few different types of inspection eq and the data string was different for each so I had to pull the number from different...
  3. B

    Creating customer statement and email with xls attachment

    Hi all I am new to this forum. I have seen some pretty amazing VBA codes/help here. I would like to get involved. I am a management accountant and I often create workbooks for myself and colleagues to save time and improve efficiency. To start off, I am sharing the following code which I...
  4. A

    runtime error 438 after opening workbook with vba

    Hi Everyone, First ever post so apologies if i'm doing this wrong. I have written some code that in theory is supposed to after being passed a filename selected from a list box(Listbox1) and a directory as a string (MyFolder), use these to see if that workbook is open. If it is then it copies...
  5. A

    id not auto increment and data overwritten using loop

    Hi everyone, I"m still new in VBA and currently working on to develop data entry form in excel. I'm facing errors where my ID cannot auto increment while inserting the data=Country with 10 rows once the button was clicked. My codes are getting errors by overwritten the previous data for next...
  6. G

    Unknown error - crashes workbook everytime."

    Hi all, Sorry to bother people with this, but I cannot seem to find what keeps crashing Excel in the following code. I already know the code is horrendous to look at as i'm not amazing at this, so if anyone could provide tips on keeping it efficient that would be awesome too. Private Sub...
  7. K

    Excel VBA getting table columns by name in a specific sheet within a closed workbook

    Hello everyone, before I wish to explain my question, I want to say that this forum has helped me a lot solving my automated excel obstacles :) So right now, I have this piece of code that simple asks the user for the workbook location, name and sheet name in order to fetch the entire sheet...
  8. A

    VBA Active Cell Debugging Issue

    Hi, Need your help and assistance on the debugging issue I encountered. I've been using a code that runs smoothly when generating the Macro. But when I run the program again using another data, debug issue occurs. I've run series of data combination with one sheet and some run smoothly, but...
  9. H

    one by one as if do it manually

    Hi all , I have one simple question in fact it's stupid too. i have loop code like below . all i wanted is the code is working fine but i wanted the code to run slowly as if we do it using F8 . like as if we doing it manually one by one i tried all the steps but could not figured it out hence...
  10. L

    VBA: Double quotes in export CSV

    Hi Guys, I have a piece of VBA which is exporting a sheet to a CSV file. I want this CSV to be comma separated with double qoutes around every column. At this moment I get comma's as separator, but I don't know how to get the double qoutes around the text in the columns. This is what I have...
  11. K

    What is the ActiveCell.Value of a wrapped cell

    Excel experts, I am new to the forum and this is my first post. I have read the rules and guidelines, and I will do my best to follow them. I apologize if break any rules. I am working on a macro that searches for certain cell values. I am struggling with the correct syntax of the cell value...
  12. D

    Remove quotes from text pulled from CSV

    Hi all, Need to pick someone else's brain on this. The problem is very simple: I have a macro which is extracting information from a csv report and populating a spreadsheet. The problem I have is that when it does so the text populated on the cells are all double quoted: "14/07/2015 9:51:37"...
  13. L

    Replacing Range of Selected Cells using VBA

    Hello everyone, I'm currently using the following code for a macro that replaces the one and only active cell's space for an underscore: Sub Hello() 'Finds and replaces spaces with an nothing ActiveCell.Value = Replace(ActiveCell.Value, " ", "_") ActiveCell.Offset(0, 1).Select End Sub...
  14. S

    Activecell.text on a Hidden Cell

    Got a bit of a strange one. Looping through a group of cells, and if the cell value is blank, I want to put a value in the cell (in this case, 0). Heres the problem. When the cells are visible, it works fine. When the cells are hidden, the activecell.text is equal to "". If I run the code...
  15. C

    Renaming a merged cell

    Hello, I'm trying to rename a merged cell and I'm getting the following error and the last line of the code is highlighted when I debug: Run-time error '70' : Permission denied Sub RenameCell() ' ' ' Sheets(Sheets.Count).Select Cells.Find(what:="general ledger"...
  16. dukeofscouts

    UserForm Opening set values to contents of activecell.value

    I've been toying with Userforms for about a week now. Thanks to google I've been able to find lots of help with trouble shooting most of my issues. However, this one has me stumped. When I run the macro to call the userform, it says that the Find function is not recognized. According to all the...

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