Questions tagged as 'vba'

1
answer

Retrieve the value of a variable in VBA and put it in a cell in Excel

I have a variable (a name) declared in VBA how do I retrieve this name to put in a cell of an Excel spreadsheet (if possible via a formula) Thanks     
asked by 03.10.2018 / 20:12
0
answers

Use of the "find" or "if" function in VBA

Please help with the following problem: I have a .txt file to be formatted in EXCEL, and a data separation has to be done, data and line numbers may vary in size. The logic would be more or less this: If the cell text is ("case1") Selec...
asked by 01.10.2018 / 16:21
0
answers

Excel VBA - strange behavior!

Strange behavior in Excel VBA! The code opens a source file, and copies an existing table. Paste the table into a destination file - in the SUPPORT worksheet - and closes the source file. In the destination file there is a worksheet named RENT,...
asked by 01.10.2018 / 20:01
0
answers

VBA interaction with IE

Good morning ... I need to know how I can get the zip codes and numbers listed in a spreadsheet with VBA, with this information going one by one at a URL and saving results and a new spreadsheet. I know very little about VBA, the code I'm tes...
asked by 17.09.2018 / 14:38
2
answers

Lighten Excel VBA Figure

Good afternoon. I need a macro to lighten a figure, located on the worksheet, and reverse coloration. Excel does not record the macro when you change the settings in the "Format" tab. I've browsed Google from end to end as well. Thank you...
asked by 14.09.2018 / 22:31
1
answer

How to fetch info from excel sheet to do drop down in Visual Basic

I have a dropdown with information I already have in a excel sheet in Visual Basic, how do I go get that same information? And already make sure there is no repeated information? Example: colunaA a a a b b b b c c d e e And t...
asked by 20.09.2018 / 15:35
0
answers

Click Button with VBA

Good morning, I have a macro that accesses a website, I enter the data and performs search, but I can not get it to click the "Browse" button, could anyone help? Follows page HTML and macro code; <div class="row">...
asked by 19.09.2018 / 15:26
1
answer

Add and display time greater than 24 hours in Access 2007 VBA

I'm using Access 2007 to develop a garage control form, which provides travel information made by drivers. I need to calculate the total amount of time for each trip, and this period can be longer than 24 hours. I was able to calculate without p...
asked by 20.09.2018 / 13:48
0
answers

Execute the quartile formula in certain months

I have a table with hundreds of values and these are divided between product name and date of sale. I've filtered the type of product (in the example, blouses and shirts) and now I want to get the quartiles for each month. Example Nome...
asked by 28.09.2018 / 16:50
1
answer

How to change position values for a given resource?

Another Hardcore challenge, I do not know if I can explain it well, but there it goes. In the table below, I have the "X" feature, where he has already made 8 contacts (5 completed and 3 unfinished) and I would like to automatically count which...
asked by 15.09.2018 / 20:41