Questions tagged as 'vba'

1
answer

Saving file automatically VBA

I made this macro to create folders and subfolders automatically, but I need to save the file I'm editing inside the created pasture ... can anyone help me? Follow the script ' MACRO PARA CRIAR PASTA DE ANO/MES/DIA Public Const sCaminho =...
asked by 16.05.2018 / 19:49
1
answer

attach file and send e-mail vba

Good morning, I need some help. I have this macro it is working perfectly but I need to add 1 things to it. When it runs and generates the new file with the tabs that I selected, I need to open Outlook, this new file is attached to it. Can...
asked by 23.05.2018 / 13:45
1
answer

Excel 2013 VBA Doubt

I have this bit of code: Range("F8").Select For Each m In Range(Range("C8"), Range("C" & rows.Count).End(xlUp)) If ActiveCell.Offset(0, 0) <> " " Then ActiveCell.Offset(0, 7) = Application.vlookup(ActiveCell, Sheet...
asked by 14.02.2018 / 18:22
1
answer

What excel function should I use?

I have a list of male and female names that I need to determine in the front cell of the gender of the name. The logic that analyzes the name and says if it is male and female is ready, however, I need to create the following logic, but I do...
asked by 24.07.2017 / 16:53
1
answer

How to delete or hide the password typing of data access from a server running SQL Server from VBA or Excel macro?

I am performing a migration service from a database with a SQL Server server in a company, but have asked me to intermediate the migration in Excel Spreadsheets, because they want so in this first phase to advance some treatments in same work...
asked by 29.06.2017 / 05:06
1
answer

Is it possible to retrieve the selected values from a multiselect list box (not active X)?

Is it possible to retrieve the selected values from a list box (Form Control) with the multiple selection option, by formula or Vba?     
asked by 09.01.2017 / 14:03
1
answer

Excel vba - HttpRequest GET

I'm trying to do a GET in VBA in Excel, and found several examples, below what I'm using: Sub http() Dim MyRequest As Object Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1") MyRequest.Open "GET", "http://www.google.com",...
asked by 27.05.2016 / 22:30
1
answer

Auto run macros in Excel / VBA

I made several attempts to execute a macro when starting Excel as indicated in the searches I did, although these indications are very simple, in my case they did not work. I followed the following script: Double click on "This_work_fold...
asked by 02.04.2016 / 17:48
1
answer

Hyperlink Customization in excel

Does anyone know if there is any way I can create a hyperlink in a cell in excel where the value specified in this cell is passed to the id value of a URL? Example: Cell with value: 100531, when clicking on it, call a url link where VALORDA...
asked by 22.08.2016 / 23:16
1
answer

Skip column to each N counted lines

I need help with vba. When inserting values using linetype, I want to change columns, with each N number of lines. For each 100 counted rows and values entered automatically, the column is altering and the row count resumes in a new column. I...
asked by 09.02.2016 / 19:46