+ Reply to Thread
Results 1 to 10 of 10

workbook gets corrupted when download to computer from google sheet. vba stops working.

  1. #1
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    workbook gets corrupted when download to computer from google sheet. vba stops working.

    Hi, would like to get get help to get a full copy of this workbook to be downloaded to computer from google sheets, without vba to stop working or formulas.
    the buttoms with vba are Limpar, ocultar exibir and also there is an Add 1000 more rows at the bottom of sheets
    Com straight X, Sem straight X and, C�pia de Scoop Overall
    this is the google link to the file https://docs.google.com/spreadsheets...it?usp=sharingadd.png

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,977

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    The link is to an Excel file with no macros. Google Sheets doesn't support VBA or ActiveX. If you want to store this in the cloud you should store it in Google Docs, not Sheets.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    thank you 6StringJazzer
    this is the original link that was share to me. 6StringJazzer https://docs.google.com/spreadsheets...#gid=250879172
    what i did was make a copy and store in google drive thats the link i am sharing in post#1 when i download from above link here to pc file gets corrupted, so i am not sure how to go about getting full copy from this link original that was share.
    when i click original link to save copy i get this

    new link not sure if this one will show vba https://docs.google.com/spreadsheets...it?usp=sharing
    Attached Images Attached Images
    Last edited by west123; 05-08-2024 at 02:24 PM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,436

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    Does the file use macros? Were the macros designed and implemented using Google's Apps script? If so, you cannot simply download the file to Excel and expect those macro scripts to work. You are going to need to somehow adapt those scripts into a macro language that works with Excel. My understanding is that Google Apps script is Javascript (or very close to Javascript), so it might be easiest to adapt the Apps script code to work with Excel using Javascript: https://learn.microsoft.com/en-us/of...api-for-office
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    thank you Mr.Shorty,
    yes file has 4 buttons that use macros. thats very complicated. as i no anything about macros and scripts. though it would be easier than what u mention above.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,436

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    In my experience, one of the fastest ways to get yourself locked into using one and only one spreadsheet app is to build a spreadsheet that uses macros. Each spreadsheet app has its own way of interacting with the macro language, so it is usually difficult to move a file from one spreadsheet app to another once you have added a macro to the file. If you don't have the expertise to adapt the macros to Excel, and the spreadsheet's developer won't help you move the spreadsheet file into Excel, I would suggest using the file in Google sheets and not worry about exporting it to Excel.

  7. #7
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    i see, were you able to see the buttons with the vba code, and what they do?
    Limpar, ocultar exibir and also there is an Add 1000 more rows at the bottom.
    i don't feel save with the google version as i don't know if they can hack me or if is sending information as a message says when i give acess to the vba code. would it be to much work to have someone here help with the vba in the buttons that need it ? I am pretty much stock with this problem now
    this message, and since i want to have this file ready to use when i decide to leave the country to go play online poker from i mean i don't want anyone having acess or to be able to see my whole cards while i play.
    Attached Images Attached Images
    Last edited by west123; 05-08-2024 at 07:17 PM.

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,436

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    It's not the kind of programming I do, so I can't help with this sort of thing. Perhaps one of our other users will step in and offer some help.

    Since we'll kind of end up rebuilding the spreadsheet from the bottom up, perhaps the best place to start would be a basic description of what the spreadsheet is supposed to be doing. Then we won't need to reverse engineer the existing Google Sheets spreadsheet before programming new stuff.

  9. #9
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    okay, hopefully someone steps in to help with whats needed.

  10. #10
    Forum Contributor
    Join Date
    11-13-2022
    Location
    usa
    MS-Off Ver
    plus 2021
    Posts
    2,387

    Re: workbook gets corrupted when download to computer from google sheet. vba stops working

    these is the 4 things needed in the vba buttons
    1. Limpar = to clean
    2. Ocultar = Hide
    3. Exibir = to show
    4. add 1000 more rows at the bottom
    the button Ocultar hide the columns T:AH and
    the button Exibir show the columns back
    Attached Images Attached Images
    Last edited by west123; 05-08-2024 at 09:35 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Google sheets script to download file and save it to google drive folder and use it's data
    By western in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 01-18-2021, 01:31 PM
  2. [SOLVED] Google sheets vba to download file and save it to google drive folder and use it's data
    By western in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2021, 08:48 AM
  3. Replies: 4
    Last Post: 12-08-2016, 08:03 PM
  4. Download workbook from Google drive in ONE line not working
    By snattrass in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2015, 09:42 PM
  5. This Macro stops working when i share my workbook
    By gostavee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2015, 07:13 AM
  6. Workbook stops working when I open it on another workstation
    By paddingtonstation in forum Excel General
    Replies: 10
    Last Post: 11-18-2011, 10:59 AM
  7. Macro stops working after copying to different computer
    By Bacat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2009, 04:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1