Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 31-07-2005, 06:45 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2005
Location: Assam, India
Posts: 9
Default macros


here's what i have: a word document with a picture with a definate set of properties.

here's what i need: a macro that would change the picture at the click of a button, but retain all the properties (like size, position, contrast, brightness, etc.)

i'll be really grateful if u can help me out.
__________________
Sayan Chaliha
If can do something or dream you can, begin it.
Boldness power and genius in it.
Sayan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 01-08-2005, 12:37 AM   #2 (permalink)
In The Zone
 
sms_solver's Avatar
 
Join Date: Jan 2004
Location: somewhere
Posts: 420
Default

i give one idea:
open a blank document.

1)Go to Tools>Macros>Record Macro. Give Name.

2)Insert the picture,
do all kind of adjustments with picture

3)Close down the Macro

4)creating macro means word adding vba codes in some module. Analyze that module. You could change that module easily aking experimenting a while.
__________________
[ॐ एसएमएस॰सोल्भर ॐ]
sms_solver is offline  
Old 01-08-2005, 01:34 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2005
Location: Assam, India
Posts: 9
Default

Okay... i knew that and it aint that simple. in word xp, while recording a macro, you can't change the properties of the picture (at least i couldn't).

let's look at it differently. the word document is an object in the VBA editor right? now, the picture in the document is an object too right? so, is it possible to access the properties and methods of the picture object using the VBA editor? if so, what command do i use?

thanx for helping me out!!
__________________
Sayan Chaliha
If can do something or dream you can, begin it.
Boldness power and genius in it.
Sayan is offline  
Old 02-08-2005, 11:47 AM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2005
Location: Assam, India
Posts: 9
Default

hey.. help me out here man!! i desparetly need this macro thing going for me!!
__________________
Sayan Chaliha
If can do something or dream you can, begin it.
Boldness power and genius in it.
Sayan is offline  
Old 03-08-2005, 12:38 AM   #5 (permalink)
In The Zone
 
sms_solver's Avatar
 
Join Date: Jan 2004
Location: somewhere
Posts: 420
Default

why don't u use office xp or 2000
__________________
[ॐ एसएमएस॰सोल्भर ॐ]
sms_solver is offline  
Old 03-08-2005, 12:35 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2005
Location: Assam, India
Posts: 9
Default

i do use Office XP with sp3. that though is no solution. try it yourself... while recording a macro, you can't even click on the picture that is inserted in the document.
__________________
Sayan Chaliha
If can do something or dream you can, begin it.
Boldness power and genius in it.
Sayan is offline  
Old 03-08-2005, 12:47 PM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2005
Location: Assam, India
Posts: 9
Default

i do use Office XP with sp3. that though is no solution. try it yourself... while recording a macro, you can't even click on the picture that is inserted in the document.
__________________
Sayan Chaliha
If can do something or dream you can, begin it.
Boldness power and genius in it.
Sayan is offline  
Old 21-08-2005, 01:06 AM   #8 (permalink)
In The Zone
 
Join Date: Apr 2005
Location: South Pune
Posts: 275
Default

office xp has inbuild functions n work well.
__________________
PriyaRanjan Singh

SkyInfoways (P) Ltd.
http://www.skyinfoways.com
crashuniverse is offline  
Old 21-08-2005, 09:55 AM   #9 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

Try macro magic of iolo softwares...
Also,
for VB, do this :
Create a picture box and use the load picture property of it to select a picture...

Now doule click on the pic box to go to its command menu...
now type
picboxname.loadpicture="location"
this will change the pic on a click on running...

Also , for editin the resolution, try disablin the autosize property in it....
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2