vba

Excel VBA Web Scraping Table Elements from a <frameset> and a <frame>

試著忘記壹切 提交于 2021-02-20 03:35:54
问题 I am trying to scrape some table-looking items from a website into Excel. I'm no stranger to coding in general, though I'm pretty new to VBA in an Excel sense :) I have tried using Excel's Data>From Web interface, it's not recognizing the table. I'm guessing it's because it's built using (or at least that's what my Google-Fu has lead me to understand). Snipping of what the second table looks like <html> <frame title="links" ...>...</frame> <frame title="queue"> #document <head>...</head>

VBA Detect outlook incoming email from Excel

蓝咒 提交于 2021-02-20 02:58:20
问题 I have tried to use the code listed in the link to detect a new outlook email from an excel macro. This code has not worked for me so far. I am not sure as to why. I am also not quite sure what needs to go into a class module, regular module or how to call it in order for it to be monitoring. I dont want to add this to outlook as suggested in the article, because I can not physically added it to all individuals who need to use, when I can simply send an excel file and reference their outlook.

How can I send 2 pivot tables (from two sheets) in an Email?

流过昼夜 提交于 2021-02-20 02:16:15
问题 I have a excel with 2 sheets, each one has a pivot table. I want to create a button which automatically send both pivot tables into one mail out. I'm able to write the VBA code to send out one pivot but dont know how to send 2 together. Here is my code, appreciate the help. Sub Mail_Selection_Range_Outlook_Body() ' You need to use this module with the RangetoHTML subroutine. ' Works in Excel 2000, Excel 2002, Excel 2003, Excel 2007, Excel 2010, Outlook 2000, Outlook 2002, Outlook 2003,

How can I send 2 pivot tables (from two sheets) in an Email?

我们两清 提交于 2021-02-20 02:13:56
问题 I have a excel with 2 sheets, each one has a pivot table. I want to create a button which automatically send both pivot tables into one mail out. I'm able to write the VBA code to send out one pivot but dont know how to send 2 together. Here is my code, appreciate the help. Sub Mail_Selection_Range_Outlook_Body() ' You need to use this module with the RangetoHTML subroutine. ' Works in Excel 2000, Excel 2002, Excel 2003, Excel 2007, Excel 2010, Outlook 2000, Outlook 2002, Outlook 2003,

How to generate signature with RSA-SHA1 and private key through VBA?

血红的双手。 提交于 2021-02-19 17:58:39
问题 I want to connect an API with Excel through Excel VBA. The API requires a public/private keypair with RSA-SHA1 signature. I have used openssl to generate the pair, uploaded the public key to the API's services and have the private part stored on my local computer. Now I want to connect with my API so I will sign my request. But VBA does not have native RSA-SHA1 signing. I have found the following code at https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/String_Hashing_in_VBA which

How to generate signature with RSA-SHA1 and private key through VBA?

♀尐吖头ヾ 提交于 2021-02-19 17:55:26
问题 I want to connect an API with Excel through Excel VBA. The API requires a public/private keypair with RSA-SHA1 signature. I have used openssl to generate the pair, uploaded the public key to the API's services and have the private part stored on my local computer. Now I want to connect with my API so I will sign my request. But VBA does not have native RSA-SHA1 signing. I have found the following code at https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/String_Hashing_in_VBA which

How to generate signature with RSA-SHA1 and private key through VBA?

我与影子孤独终老i 提交于 2021-02-19 17:54:11
问题 I want to connect an API with Excel through Excel VBA. The API requires a public/private keypair with RSA-SHA1 signature. I have used openssl to generate the pair, uploaded the public key to the API's services and have the private part stored on my local computer. Now I want to connect with my API so I will sign my request. But VBA does not have native RSA-SHA1 signing. I have found the following code at https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/String_Hashing_in_VBA which

How to generate signature with RSA-SHA1 and private key through VBA?

倖福魔咒の 提交于 2021-02-19 17:53:09
问题 I want to connect an API with Excel through Excel VBA. The API requires a public/private keypair with RSA-SHA1 signature. I have used openssl to generate the pair, uploaded the public key to the API's services and have the private part stored on my local computer. Now I want to connect with my API so I will sign my request. But VBA does not have native RSA-SHA1 signing. I have found the following code at https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/String_Hashing_in_VBA which

Getting filenames from a folder in Sharepoint with VBA

陌路散爱 提交于 2021-02-19 12:50:29
问题 I've done alot of research on this and found a number of help sites but still can't understand why this sometimes doesn't work. I'm trying to access a sharepoint site (to which there are no restrictions for me) and extract all the files in a folder within that site. Sometimes my Path works and it does it, other times it does not. I have a feeling it works if I've gone into the sharepoint site on my browser before but can't confirm that (because I just tried it again now and it doesnt work

Getting filenames from a folder in Sharepoint with VBA

泪湿孤枕 提交于 2021-02-19 12:47:24
问题 I've done alot of research on this and found a number of help sites but still can't understand why this sometimes doesn't work. I'm trying to access a sharepoint site (to which there are no restrictions for me) and extract all the files in a folder within that site. Sometimes my Path works and it does it, other times it does not. I have a feeling it works if I've gone into the sharepoint site on my browser before but can't confirm that (because I just tried it again now and it doesnt work