Results 1 to 1 of 1

How do i make relative path for image to be shown on multipage?

Threaded View

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    69

    How do i make relative path for image to be shown on multipage?

    Hi guys

    I would like to be guided on my way to make a relative path for an image that is shown on a multipage

    I have already a working code but not with relative path for the image.

    Private Sub MultiPage1_Change()
        If MultiPage1.Value = 7 Then
        Dim StrTekst As String
        StrTekst = ActiveWorkbook.Path & "\data\Tekst\Diverse tekst\" & "Brugernavne.txt"
            TextBox6.Text = LæsFil(StrTekst)
        End If
        If MultiPage1.Value = 6 Then
        Image14.Picture = LoadPicture("k:\spid\spid\data\Tekst\Teknisk tid\Teknisktid.jpg")
        End If
    End Sub
    i need to code something similar to the first part of my shown code and i have already tried to rewrite the code taken from the text-part but i guess i need a "picturreviewer"-function.. or do i?

    Can anyone give little assistance?

    Thank you
    Last edited by Lkivagten; 08-10-2012 at 10:16 AM.

Thread Information

Users Browsing this Thread

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

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