Hi all,
I have an Access database with roughtly 70 different forms that I need to change the background image for. Now, short of opening all these forms individually, and changing the "Picture" property one by one, is there a fast way of changing these?
I know I can do this:
But what I'm looking at doing is more like this, however I know this doesn't work:
Is there a faster way of doing this?
Thanks in advance!
I have an Access database with roughtly 70 different forms that I need to change the background image for. Now, short of opening all these forms individually, and changing the "Picture" property one by one, is there a fast way of changing these?
I know I can do this:
Code:
DoCmd.OpenForm "Account", acDesign
Debug.Print Forms!Account.Picture
DoCmd.Close acForm, "Account", acSaveYes
Code:
Dim x as Variant
x = "Account"
DoCmd.OpenForm x, acDesign
Debug.Print Forms!x.Picture ' fails on this line
DoCmd.Close acForm, x, acSaveYes
Thanks in advance!
Comment