216,486 questions
-1
votes
0
answers
50
views
Error message still appears with file lookup in sharepoint despite error handling - VBA Excel [duplicate]
My problem is very similar to this post: Excel error dialogue still pops up even with error handling but the answers did not seem very relevant and so I wanted to re-ask, but I will give more of my ...
3
votes
1
answer
122
views
Excel VBA file copy external to excel
I have a spreadsheet setup, where I loop through each row of the sheet, gathering a cell's data, combining it with a few other cells on other sheets to create a file path, and then copying the file/...
1
vote
0
answers
76
views
How do I edit this value in PowerPoint macros [duplicate]
I've been searching in the VBA documentation and couldn't find one regarding modifying/accessing the "seconds delay between letters" value when going through the animation effect settings ...
0
votes
0
answers
146
views
How can export cell where value is "Pictures" to a file?
I have an Excel, and one of the cell values is a "Picture" Object. It is not a shape.
How can export this picture to a file?
This is my code, but it can't copy picture to Chart.
Sub ...
1
vote
4
answers
150
views
How to calculate total of values based on if other variables are similar?
I'm trying to create a simple macro, and the solution is eluding me.
Let's say I have a table:
Header1
Header2
AAA
100
BBB
200
BBB
150
BBB
250
CCC
300
CCC
200
I want the formula to calculate so that ...
1
vote
2
answers
178
views
Can't access <tr> in <table> with VBA
I'm using VBA to import the table from Federal Fund Rates into Excel.
So far I've got:
Set HTMLDoc = CreateObject("HTMLFILE")
HTMLDoc.body.innerHTML = objHTTP.responseText�
������������������...
1
vote
1
answer
134
views
Copy paste multiple sheets data from a WB & paste in another WB in 1 Worksheet.Run TIme Error 1004 Application defined or object defined error
I am trying to copy data from multiple sheets of a workbook and paste it in a single worksheet of another workbook. But while running the code i am getting Run time error 1004. 'Application-defined ...
-3
votes
0
answers
122
views
Can't add row to bottom of table when another specific table is below it |VBA
UPDATE: Thanks everyone i managed to fix it by just temporality moving the table 2 out of the way and moving it back.
I'm making a small personal project and for some reason, when I add a certain ...
0
votes
0
answers
75
views
VBA Code for Word that uses an XML in the background for drop down
I try to implement something for Word. So I have plenty of letters I have to use for work. I want to make them easier and faster to work with. That's why I like to implement drop down menus with ...
0
votes
0
answers
39
views
VBA Code to PivotFilter non zero values on Calculated field
Sub test2()
Dim pt As PivotTable
Dim pfRow As PivotField
Dim pfData As PivotField
Set pt = Sheet8.PivotTables("PivotTable1")
Set pfData = pt.PivotFields("Sum of ...
Advice
1
vote
15
replies
142
views
Cutting rows beginning with letter and past them after last cell of row beginning with number
I have a huge table with over 2000 rows with text. Some rows begin with letters and rows that begin with numbers. I now need all the rows that begin with letters to cut and past them after the last ...
0
votes
0
answers
53
views
How to refresh Databricks ODBC external queries in SharePoint Excel without per-user DSN setup?
I’m using VBA to refresh external queries in Excel that connect to Databricks via ODBC, since Power Automate cannot refresh external connections.
The Excel files (50+) are stored in SharePoint and ...
Best practices
1
vote
5
replies
210
views
Scrape table from Web to Excel
I need to import the currency exchange rate table to Excel from the web (here's the link to the website https://vrbank.com.vn/ru/exchange-rate/) and update it on a daily basis. I've tried to use Power ...
1
vote
0
answers
61
views
Get Selection when user is filtering search results
I have been writing a few scripts to help me with managing my inbox; one such script is to move all selected emails to a certain folder based on some criteria (not important).
This works perfectly ...
1
vote
1
answer
92
views
Finding Folder to use in Macro
I am trying to make a code that will allow a user to select a folder that is used in the same macro so anyone who places the workbook needed can simply select the folder where it is at to run the ...