Results 1 to 8 of 8
  1. #1
    rinogattuso is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    4

    view excel file inside access form with Microsoft Web Browser

    I'd want to see an excel file inside an access form.
    This becouse excel files are not in a table format and i need to copy some values from excel to access manually.


    And i need to do this for a lot of files
    So would be fine if i could see at the same time excel file and access form where to insert data.
    I've tried with Microsoft Web Browser but if i connect the excel file, when i load the form, access ask me to open the file in a separate excel window and not inside the form.
    But if i connect pdf or jpg files . i can view the file correctly inside the form.
    There is a way to see access that don't open excel file in a separate window ?
    thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    just link the excel file as an external table then you can view it in a form.

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Have you tied using a bound object frame control? See attached sample that handles Excel, Word and PDFs.

    Cheers,
    Attached Files Attached Files
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Seems to me that the file isn't in a db table, so unbound object control? If it's web hosted, then browser control? I agree - would be better to link to it from Access, but that assumes it's a file system object. Can you link to a web server file?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    rinogattuso is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    4
    Quote Originally Posted by Gicu View Post
    Have you tied using a bound object frame control? See attached sample that handles Excel, Word and PDFs.

    Cheers,
    thank for the example.
    is ok but has some problems:
    1) I can't copy cells value, becouse is only readable
    2) ole control resize caracthers size of excel files, sometimes too big sometimes too small tried to change object property but results are not so good
    3) can't see sheets, only selected sheet is visible.

    thanks

  6. #6
    rinogattuso is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    4
    Quote Originally Posted by ranman256 View Post
    just link the excel file as an external table then you can view it in a form.
    this is solutions that i see that work even if excel file is not in a table format.
    The problem is that if i have a file with different sheets it' difficult to manage in a form

  7. #7
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    @rinogattuso
    I had some spare time so I created and Excel file previewer that dynamically links and displays each sheet in its own tab similar to how you would see it in Excel. Give it a try and see if that helps you. Note that it still needs some error handling\validations but should be functional to show you how to do it.

    Cheers,
    Attached Files Attached Files
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  8. #8
    rinogattuso is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    4
    very good example, i'll study it
    thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-23-2017, 03:22 PM
  2. Create Excel File Through File Browser
    By kdbailey in forum Access
    Replies: 6
    Last Post: 04-21-2016, 10:56 PM
  3. How to embed excel file into Microsoft access database
    By apoorv in forum Import/Export Data
    Replies: 7
    Last Post: 08-19-2015, 08:38 AM
  4. Replies: 2
    Last Post: 02-03-2014, 02:53 PM
  5. Can access have a table view inside a form
    By mossman in forum Access
    Replies: 5
    Last Post: 01-17-2010, 12:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums