vbscript/macro

  1. J

    In VBScript via CSCRIPT only, no web involved: how to handle a WinHTTP object's events?

    I've written a small VBS script to GET or POST an URL to a WinHTTP object and put its plain-text output to stdout -- any body text it needs should be send via stdin. Please note that it's a stand-alone VBS file, so there's no web involved whatsoever -- it's simply invoked with CSCRIPT...
  2. B

    VBScript to create pivot for entire data on a tab

    Hi All, I am trying to write a script to create a pivot table for the entire data set on a tab. When I record it and run the macro on a table with a larger number of rows, the macro set the range to only include the number of rows that existed in the dataset when the pivot was recorded. Can...
  3. B

    VBA Code to fill down formulas

    Hi All, I have a table in excel where I am trying to write a script that inputs a column name into a cell, enters the formula for that column below, then drags the formula down to the last row of the tableau. This is the script I am using but, once it gets down to row 5, it starts to use the...
  4. R

    Open file, delete connection and save as

    Hi, Could anyone please help me figure out what is wrong with below VBScripting and how do I correct it? It meant to 1) Open excel -- works 2) Refresh all data -- works 3) Remove external connection -- Dont work 4) Save as new file without any external connection -- Dont work due to 3rd step...
  5. K

    Automatic executable creation

    Is it possible to create a vbs file similar to the same one but that is automatically executed when a new file is inserted in the folder?
  6. W

    Saving excel workbook automatically from vbs

    Hi all, i am currently trying to save my workbook at the end of my script into a one drive location. i have created a file so when it saves it also replaces. Currently it doesn't attempt to save. Please see my below code. (p.s i am very new to all of this)
  7. G

    Import csv into Workbook and format cells with formula to change data

    I have a need to adjust a master excel file to accommodate a new process. I have a csv file that has data in A thru N with D thru K showing times in format h:mm:ss. This csv file is auto generated daily and will need to be imported into a master spreadsheet into a “data” tab keeping previously...
  8. S

    Excel - vbscript/Macro

    Hi, Can someone please provide me a VBScript code for my below requirement. I have a master tracking document that I use to record project information. My client sends me an updated schedule each week which may (or may not) have additional stores on it and some of the details of the stores may...

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