SunnyKow
Puchong, Malaysia
VIP
Members
Trusted Members
Trusted Members
Forum Posts: 1432
Member Since:
June 25, 2016
June 25, 2016
Offline
Hi Karthi
You can key the full path into a cell and then refer to it via the macro.
Eg. enter the full path in cell D1 like h:\desktop\
then in your code, write spath=RANGE("D1")
To create a button, from the ribbon select Insert-Shapes and select a shape of your choice.
Then right-click the shape and select Assign Macro and select the macro that you want (in your case is openfile).
Hope this helps
Sunny
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1917
SunnyKow: 1432
Anders Sehlstedt: 900
Purfleet: 414
Frans Visser: 346
David_Ng: 306
Hans Hallebeek: 287
lea cohen: 246
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Nicole White
Adrian Macleod
Ed Norris
manoj Ka
Chris Cowan
Pawel Ganczarski
Molly King
Faraz Rafi
Anthony Blake
Jackb57
Forum Stats:
Groups: 3
Forums: 24
Topics: 6873
Posts: 30127
Member Stats:
Guest Posters: 49
Members: 33678
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —