activeworkbook variable

  1. A

    VBA - Remove VBA when the file changes name

    I would like to remove/disable the VBA code that is in an xlsm file that will be used to import and analyse data, its then saved as a different file name. But when you open that file it tries to re-import the data again as these file will be opened by many people I can not guarantee that they...
  2. C

    Issue with code pulling data from spreadsheet.

    Trying to pull data out of a spreadsheet and I am getting this error "Doesn't support this property or method" for line F1=ActiveWorkbook.ActiveSheet. I've used something very similar to this before. Any idea what I am missing? How can I define the array for F1? Is it needed? Sub...
  3. D

    Force Macro to Select Correct activeworkbook?

    Hi! I need to make a correction to 25 budget files I sent out to our field employees. So I want to send a new file, with a macro button in it, that will run a macro I have written to fix the error in these 25 budget files. There are 25 field employees, each with their own version of this...

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top