Outline ·
[ Standard ] ·
Linear+
How to run Excel file with VBA code on AWS
|
TSJames8899
|
Oct 22 2022, 10:56 PM, updated 4y ago
|
Getting Started

|
Hi,
I have an excel file with VBA codes, it take few hours run the macro.
1) It is possible to run this excel file on AWS(Amazon Web Services) ? 2) Can the code running process be completed in shorter time if using AWS ?
I don't mind to pay for the services.
Tq
|
|
|
|
|
|
ketnave
|
Oct 22 2022, 11:03 PM
|
|
Yes
|
|
|
|
|
|
TSJames8899
|
Oct 22 2022, 11:06 PM
|
Getting Started

|
QUOTE(ketnave @ Oct 23 2022, 12:03 AM) Can you teach me step by step how to use AWS to run my excel file ? Or any other better cloud computing services ?
|
|
|
|
|
|
fantasy1989
|
Oct 22 2022, 11:12 PM
|
|
i dont think u can run Excel Macro thru online
last time i remember even thru own MS sharepoint also cannot run these legacy macro code when open excel file directly on browser
u need to convert it to work with other like PowerBI
if your main goal is re-using existing and working Excel Macro with 0 code modification ; i think just get 1 VMWare or server that have more cores + 64 bit MS office pre-installed.. trigger it on specific time thru some automation tool or even by another vba script + task scheduler to refresh your excel data.
This post has been edited by fantasy1989: Oct 22 2022, 11:20 PM
|
|
|
|
|
|
orangtua
|
Oct 22 2022, 11:13 PM
|
Getting Started

|
Please take this with a pinch of salt.
Excel VBA is a client side scripts. It requires MS Excel for execution, and probably can't run 100% in headless mode (meaning no UI interactions). I highly doubt it will work in the cloud.
|
|
|
|
|
|
ketnave
|
Oct 22 2022, 11:13 PM
|
|
QUOTE(James8899 @ Oct 22 2022, 11:06 PM) Can you teach me step by step how to use AWS to run my excel file ? Or any other better cloud computing services ? https://aws.amazon.com/blogs/big-data/inges...zon-quicksight/
|
|
|
|
|
|
orangtua
|
Oct 22 2022, 11:16 PM
|
Getting Started

|
QUOTE(ketnave @ Oct 22 2022, 11:13 PM) Did not mention about macros or VBA.
|
|
|
|
|
|
Szzz
|
Oct 22 2022, 11:18 PM
|
Getting Started

|
QUOTE(ketnave @ Oct 22 2022, 11:13 PM) dont think quicksight can run vba macro quicksight is more for processing excel into meaningful information
|
|
|
|
|
|
TSJames8899
|
Oct 22 2022, 11:20 PM
|
Getting Started

|
QUOTE(ketnave @ Oct 23 2022, 12:13 AM) Can I send you the excel file and you just run VBA codes on AWS ? And then just send me back the excel file(with generated results) after completion of code running process ? LOL
|
|
|
|
|
|
ketnave
|
Oct 22 2022, 11:29 PM
|
|
QUOTE(orangtua @ Oct 22 2022, 11:16 PM) Did not mention about macros or VBA. QUOTE(Szzz @ Oct 22 2022, 11:18 PM) dont think quicksight can run vba macro quicksight is more for processing excel into meaningful information Sorry for trolling ... I didn't think anyone will be reading into it so much ... QUOTE(James8899 @ Oct 22 2022, 11:20 PM) Can I send you the excel file and you just run VBA codes on AWS ? And then just send me back the excel file(with generated results) after completion of code running process ? LOL TS - someone else asked rather similar question 1 year, 9 months ago - https://stackoverflow.com/questions/6583131...ning-vba-on-awsJust get the highest spec of ec2 compute has to offer and runs your excel there https://aws.amazon.com/windows/products/ec2/https://aws.amazon.com/ec2/instance-types/#Compute_Optimized
|
|
|
|
|